Is there a way to turn off anti aliasing with embedded fonts? I’m using the following code, but sadly I don’t see any options in the Actionscript 3 reference, where I can achieve the same results when using a dynamic text field with the Bitmap text [no anti-alias] option selected under Aliasing.
TF = new TextField();
TF.embedFonts = true;
TF.selectable = false;
TF.defaultTextFormat = new TextFormat(_font, _fontSize, _fontColor);
TF.autoSize = TextFieldAutoSize.LEFT;
TF.height = _maskHeight;
TF.x = _maskWidth;
TF.text = getNextMessage();
TF.antiAliasType = AntiAliasType.ADVANCED;
addChild(TF);
Any ideas?
Based on the document provided by Adobe, you can’t turn off anti-aliasing for embedded font: “Embedded fonts are anti-aliased, which means that their edges are smoothed for easier readability. This is especially apparent when the text size is large.” You can see it in more detailed here: http://livedocs.adobe.com/flex/3/html/help.html?content=fonts_04.html