Apache flex 不兼容的嵌入式字体@font-face-flex

Apache flex 不兼容的嵌入式字体@font-face-flex,apache-flex,ant,flex4,flex4.5,Apache Flex,Ant,Flex4,Flex4.5,我正在将Flex4.6与ApacheFlex4.9.1库一起使用 代码如下: warning: incompatible embedded font 'TwoFontsITried' specified for spark.components::Label This component requires that the embedded font be declared with embedAsCFF=true 我在SO和其他类似社区尝试了所有不同的解决方案。字体不会出现 从这个链接我发现

我正在将Flex4.6与ApacheFlex4.9.1库一起使用

代码如下:

warning: incompatible embedded font 'TwoFontsITried' specified for spark.components::Label This component requires that the embedded font be declared with embedAsCFF=true
我在SO和其他类似社区尝试了所有不同的解决方案。字体不会出现

从这个链接我发现

/* 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;
}

在上述情况下嵌入字体有什么简单的解决方案吗?

Alhamdulillah,问题解决了。。字体嵌入和猜测是对的,库丢失了在我的应用程序中嵌入字体

我删除了ApacheFlex4.9.1SDK,并从这里重新安装了安装程序,同时选择了可选的嵌入式字体选项和必需的sdk选项

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 <flex.dir>/frameworks
ant thirdparty-downloads
Invalid application descriptor: Unknown namespace: _http://ns.adobe.com/air/application/3.4