AS3 font anti-aliasing in AIR and browser
Friday, August 3rd, 2007First of all, I’m a noob on fonts in AS3. Just posting some differences between AIR (Adobe Integrated Runtime) and the browser I noticed while developing.
Font anti-aliasing is done automatically in the browser when you don’t add any effects to it like a GlowFilter. When running AIR the font is not anti-aliased:
Verdana, Not embedded, Browser
Verdana, Not embedded, AIR
If you want to do effects like alpha and rotation on fonts, you have to embed them into your SWF. This also results in anti-aliasing when you run your application as AIR file:
Verdana, Embedded, Browser
Verdana, Embedded, AIR
Though the strange thing is the 0 (zero) and o (O) are missing a bit on the top right.