public embedFonts : Boolean
A Boolean value that specifies whether to render the text using embedded font outlines. If the value is true, Flash Lite renders the text field using embedded font outlines. If the value is false, Flash Lite renders the text field using device fonts.
If you set embedFonts to true for a text field, you must specify a font for that text using the font property of a TextFormat object applied to the text field. If the specified font does not exist in the library (with the corresponding linkage identifier), the text is not displayed.
Note: This property is not supported for Arabic, Hebrew, and Thai.
In this example, you need to create a dynamic text field called my_txt, and then use the following ActionScript to embed fonts and rotate the text field. The string my font refers to a font symbol in the library, with the linkage identifier name my font. The example assumes that you have a font symbol in the library called my font, with linkage properties set as follows: the identifier set to my font and Export for ActionScript and Export in First Frame selected.
var my_fmt:TextFormat = new TextFormat();
my_fmt.font = "my font";
this.createTextField("my_txt", this.getNextHighestDepth(), 10, 10, 160, 120);
my_txt.wordWrap = true;
my_txt.embedFonts = true;
my_txt.text = "Hello world";
my_txt.setTextFormat(my_fmt);
my_txt._rotation = 45;