title: incompatible embedded font @font-face flex
body: <pre><code>warning: incompatible embedded font 'TwoFontsITried' specified for spark.components::Label This component requires that the embedded font be declared with embedAsCFF=true
  </code></pre>
  
  <p>I am using <code>Flex 4.6 with Apache Flex 4.9.1 Library</code>.</p>
  
  <p>Code is given below:</p>
  
  <pre><code>/* CSS file */
  @namespace s "library://ns.adobe.com/flex/spark";
  @namespace mx "library://ns.adobe.com/flex/mx";
  
  @font-face {
      src:url("../fonts/DS-DIGII.TTF");
      fontFamily: "DS-DIGII";
      advancedAntiAliasing: true;
      embedAsCFF:true;
  }
  
  s|Label {
      font-size: 12;
      font-family: "DS-DIGII";
      /*text-decoration:line-through;*/
      color:#000000;
  }
  </code></pre>
  
  <p>I have tried all different solutions i found on SO and other similar communities. Font is not gonna show up.</p>
  
  <p>From this link i found that </p>
  
  <pre><code>Apache Flex 4.9.1 need optional dependencies for Embedded Font Support. tried to use dependencies for `Apache Flex 4.9.1 using Apache ANT 1.9.1` with this command
  
  cd &lt;flex.dir&gt;/frameworks
  ant thirdparty-downloads
  </code></pre>
  
  <p>I think issue is because of this new sdk needs dependencies but changing sdk and compiler from <code>apache flex 4.9.1</code> to <code>flex 4.6</code> is generating this issue</p>
  
  <pre><code>Invalid application descriptor: Unknown namespace: _http://ns.adobe.com/air/application/3.4
  </code></pre>
  
  <p>Any simple solution to embed font in above situation?</p>