Pergunta

Just drawing a simple text line.

With TLF text it looks pixelated and with classic text it looks just fine. enter image description here

Looks at the 's' and the 'r' they looks bad with TLF text.

Any ideas why this happens?

Foi útil?

Solução

From what I see, it's probably because classic text uses anti-aliasing, and you probably don't use it with the TLF text.

http://en.wikipedia.org/wiki/Spatial_anti-aliasing

Outras dicas

If you create the TLFTextField using pure AS, try to add custom antialiasing:

tlf.antiAliasType = AntiAliasType.ADVANCED;
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top