0
warning: incompatible embedded font 'TwoFontsITried' specified for spark.components::Label This component requires that the embedded font be declared with embedAsCFF=true
我正在使用Flex 4.6 with Apache Flex 4.9.1 Library
。不兼容嵌入字體@ font-face flex
守則如下:
/* 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;
}
我已經嘗試了所有不同的解決方案,我發現在SO和其他類似的社區。字體不會顯示出來。
從這個鏈接,我發現
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
我認爲問題是,因爲這個新的SDK的需求依賴,但不斷變化的SDK和編譯器從apache flex 4.9.1
到flex 4.6
是產生這個問題
Invalid application descriptor: Unknown namespace: _http://ns.adobe.com/air/application/3.4
任何簡單在上述情況下嵌入字體的解決方案?