Is it possible to create a TextField, embed the fonts in library and get a text without anti-alias?
The code I’m using is this:
I attached .fla and .as
package {
import flash.display.*;
import flash.text.*;
public class Fonts extends Sprite {
public function Fonts()
{
var field:TextField = new TextField();
var format:TextFormat = new TextFormat("Verdana", 10, 0x000000);
//
field.defaultTextFormat = format;
field.autoSize = TextFieldAutoSize.LEFT;
field.embedFonts = true;
field.selectable = false;
field.antiAliasType = AntiAliasType.NORMAL;
field.text = "My text is blurry";
//
this.addChild(field);
}
}
}
But it is blurry…