6 Replies Latest reply on Oct 30, 2009 4:40 PM by Flex harUI

    A lot of time waisted on embedding fonts! Please advise!

    tork314

      I am trying to embed this (attached) font for the second day! I know that it is not how it should be. Please help me if you know how.

       

      This is Mac.

      I added this font in Flash library and also created a dynamic field with it and embedded it from there.

       

      Then in Flash Builder (original SDK 4.0):

       

      /* CSS file */

      @namespace s "library://ns.adobe.com/flex/spark";

      @namespace mx "library://ns.adobe.com/flex/halo";

       

      @font-face

      {

          src: url("assets/fonts/fonts.swf");

          fontFamily: "12 pt. Helvetica* 75 Bold   07472";

          embedAsCFF: true;

      }

       

       

      .redHeader

      {

      font-family: "12 pt. Helvetica* 75 Bold   07472";

      font-size: 20;

      color: #9e0b0f;

      }

       

      It compiles without errors, but instead of this font it uses some default font.