Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
只是画一个简单的文本行。
TLF 文本看起来像素化,而经典文本看起来还不错。
查看 's' 和 'r' 他们在 TLF 文本中看起来很糟糕。
任何想法为什么会发生这种情况?
据我所知,这可能是因为经典文本使用了抗锯齿,而您可能不会将它与 TLF 文本一起使用。
http://en.wikipedia.org/wiki/Spatial_anti-aliasing
如果您使用纯 AS 创建 TLFTextField,请尝试添加自定义抗锯齿:
tlf.antiAliasType = AntiAliasType.ADVANCED;