3 Replies Latest reply on Sep 20, 2006 6:23 AM by Giuseppe Muccioli

    Bitmap text (no anti-alias)

    Giuseppe Muccioli
      It' possible in Actionscript 3 to use a font ("Munica Regular", 8 - http://pixelfonts.style-force.net/download/munica-regular/) without antialiasing?

      I've embedded the font:
      @font-face {
      src:local("Munica Regular"); // also valid sr:url("MUNIRG__.TTF");
      fontFamily: municaRegular;
      }

      then ,

      tfHeader=new TextFormat();
      tfHeader.font="municaRegular";
      tfHeader.color=0xFFFFFF;
      tfHeader.size=8;

      var myText:TextField=new TextField();
      myText.embedFonts = true;
      myText.defaultTextFormat=tfHeader;
      myText.text="My embedded font";

      All works well but the rendering appear so blurred (aliated).
      I've tried with antiAliasType="advanced" and some value of gridFitType, but nothing great.
      It's possible to say "Use bitmap text and don't apply antialiasing"? antiAliasEnabled=false?
      Thanks
      -g