4 Replies Latest reply on Nov 10, 2012 8:40 PM by Flex harUI

    This component requires that the embedded font be declared with embedAsCFF=true.

    anako126n

      Hey all,

       

      I fall into a small problem with fonts embedding. In my application I have embedded over 50 fonts and all expect one works as expected.

       

      That one shows an error "warning: incompatible embedded font 'Algerian-CFF' specified for spark.components::RichEditableText (RichEditableText310) . This component requires that the embedded font be declared with embedAsCFF=true."

      I have been looking all over the internet for similar problem, without success. Why this font is not working while all the rest does? Any clues?

       

      /* CSS file */

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

       

      /* embedded font */

      @font-face {

      src: url("ttf/ALGER.ttf");

      fontFamily: Algerian-CFF;

      }

       

       

      Thanks.