0 Replies Latest reply on Aug 26, 2010 4:16 AM by Dubi.Shr

    TLF text with pixel fonts

    Dubi.Shr

      Hi,

      I am trying to render a TLF text field with bitmap font style, already tried the following:

       

                  var myFormat:TextLayoutFormat = new TextLayoutFormat();
                  myFormat.color = 0xffffff;
                  myFormat.fontFamily = "Arial_12pt_st";
                  myFormat.fontLookup = flash.text.engine.FontLookup.DEVICE;
                  myFormat.renderingMode = RenderingMode.NORMAL; 

       

      Nothing works, it always rendering the font with anti-alias.

      Can anyone post a working simple example please?

      Thanks

      Dubi