2013-06-26 5 views
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의 종속성을 필요로하지만, flex 4.6apache flex 4.9.1에서 SDK 및 컴파일러를 변경하면이 문제

Invalid application descriptor: Unknown namespace: _http://ns.adobe.com/air/application/3.4 

어떤 간단한을 생성하기 때문에 문제가 있음을 발견 위의 상황에서 글꼴을 포함하는 솔루션?

답변

1

Alhamdulillah, 문제가 해결되었습니다. 글꼴 임베디드 및 추측이 맞았습니다. 라이브러리가 내 응용 프로그램에 글꼴을 포함하지 못했습니다.

나는 아파치 플렉스을 삭제 4.9.1 SDK 의무 SDK 옵션

과 함께 선택 여기 http://flex.apache.org/installer.html 옵션 포함 된 글꼴 옵션에서 설치와 다시 설치