9 Replies Latest reply on Mar 31, 2008 2:51 PM by TessandraFae

    Embedding fonts

    Dave 81
      I have a problem embedding fonts into my code.
      I tried to embed a font using the portion of code below:

      <mx:Style>

      @font-face{
      src:url("../font/BRLNSDB.TTF");
      font-family:"Berlin Sans FB Demi";
      font-weight:bold;
      }

      .labelStyle{
      embedFonts:true;
      font-family:"Berlin Sans FB Demi";
      font-weight:normal;
      font-size:13;
      }

      </mx:Style>


      Then I tried to use the font in a Label:
      <mx:Label x="10" y="386" text="&lt;none&gt;" styleName="labelStyle" id="labUsernameRemoto"/>


      Now the problem: if I use the application in a computer that doesn't have the font installed in c:\windows\fonts, I see all the Label written in Times New Roman (or something similar). Why?