Nexus 7 4.2 젤리빈(Jelly Bean)과 Adobe AIR
문제 : Nexus 7 4.2 업그레이드된 기기에서는 Adobe Air 를 통해 개발된 게임의 한글이 깨지거나 출력이 안된다.
무턱대로 올린 4.2 버전
Apple | iPhone 4S | Normal program | Spot | 1/15sec | F/2.4 | 4.3mm | ISO-800 | Off Compulsory | 2012:11:21 17:56:14
adobe Air로 제작된 Flash게임은 FONT 출력이 안된다.
그럼 개발환경에서 직접 테스트를...
대충 만들고...
Apple | iPhone 4S | Normal program | Pattern | 1/20sec | F/2.4 | 4.3mm | ISO-64 | Off Compulsory | 2012:11:21 18:27:35
..뭐지.. 뭐지!!!~
Apple | iPhone 4S | Normal program | Pattern | 1/20sec | F/2.4 | 4.3mm | ISO-100 | Off Compulsory | 2012:11:21 18:35:57
Flex Mobile Project에서 기본적으로 나와야할 한글도 깨짐...
뭐지!!!~
해결할려면 AIR에 FONT EMBEDED 해서 출력...
<?xml version="1.0" encoding="utf-8"?>
<s:TabbedViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark" applicationDPI="160">
<fx:Style>
@namespace s "library://ns.adobe.com/flex/spark";
@font-face {
src: url("NanumGothic.otf");
fontFamily: "NaNumGothic_CFF";
embedAsCFF: true;
}
@font-face {
src: url("NanumGothic.otf");
fontFamily: "NaNumGothic";
embedAsCFF: false;
}
s|Application
{
embedFonts: true;
fontWeight: normal;
fontFamily: NaNumGothic;
}
s|ViewNavigator{
embedFonts: true;
fontWeight: normal;
fontFamily: NaNumGothic;
}
s|RichText {
embedFonts: true;
fontWeight: normal;
fontFamily: NaNumGothic_CFF;
}
</fx:Style>
<s:ViewNavigator label="목록" width="100%" height="100%" firstView="views.ListView" fontFamily="NaNumGothic"/>
<s:ViewNavigator label="보기" width="100%" height="100%" firstView="views.View"/>
<s:ViewNavigator label="설정" width="100%" height="100%" firstView="views.SettingView"/>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
</s:TabbedViewNavigatorApplication>
'Computer_IT > FLEX_AIR' 카테고리의 다른 글
wonderfl-긴 이미지 붙여서 스크룰 (0) | 2014.10.29 |
---|---|
Apache Flex SDK 4.13.0 release (0) | 2014.07.28 |
Nexus 7 4.2 젤리빈(Jelly Bean)과 Adobe AIR (1) | 2012.11.21 |
[3D] Starling 메뉴얼 따라 하기 1 - 회전 박스 + TextField (0) | 2011.11.23 |
[3D] Starling 메뉴얼 따라 하기 1 - 단색 박스 (0) | 2011.11.22 |
[3D] Starling 메뉴얼 따라 하기 1 - 초기 샘플 (0) | 2011.11.22 |
좋은 정보 감사합니다^^ 덕분에 해결 했어요~^^