5 Replies Latest reply on Jun 17, 2011 11:35 AM by wmkolcz

    Flex Bug? "embedAsCff: false" not being recognised by Flex!

    RandomReado Level 1

      I've embedded some fonts in my Flex application. When I launch the application I get the following error:

       

      warning: incompatible embedded font 'DaxNoCff' specified for mx.core::UITextFormat. This component requires that the embedded font be declared with embedAsCff=false

       

      The embedded font in my fonts.css file looks like this:

       

      @font-face {
          src: url('fonts/daxRegular.ttf');
          fontFamily: DaxNoCff;
          embedAsCff: false;
      }
      
      @font-face {
          src: url('fonts/daxMedium.ttf');
          fontFamily: DaxNoCff;
          fontWeight: bold;
          embedAsCff: false;
      }
      

       

      Other fonts that have embedAsCff set to true display fine. Does anyone know the reason why embedAsCff:false isn't being recognised by Flex?