I did some comprehensive testing on various Android Versions regarding
Asian/Arabic Fonts.
It seems that less and less fonts are displayed correctly towards the newer
Android Versions. I made tests for spark label, textarea and button. You can
see the results here:

<img src="http://i.imgur.com/VvwR8RP.png"; title="Android Font Test" />
<http://imgur.com/VvwR8RP>  

I marked with green and red, correct and wrong display of the text. The
problem with Arabic is the text direction.

Below is the code used. Compiled with Flex 4.11 and Air 3.9. I played around
with a few other SDK versions but basically with same result.

I think this needs urgent attention, especially as more and more updates for
Android 4.3 and 4.4 will come out soon.

I will post the same at the Adobe Air forums.


<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"; 
                           xmlns:s="library://ns.adobe.com/flex/spark" 
applicationDPI="160"
xmlns:local="*">
        <s:VGroup width="100%" height="100%" paddingTop="20" paddingRight="20"
paddingLeft="20">
                <s:Scroller height="100%" width="100%">
                        <s:VGroup width="100%" height="100%">
                                <s:Label width="100%" text="KOREAN" />
                                <s:TextArea  text="1 남자와 소년 남자와 소년"
skinClass="spark.skins.mobile.TextAreaSkin" />
                                <s:Label text="2 남자와 소년 남자와 소년" />
                                <s:Button label="3 남자와 소년 남자와 소년" />
                                
                                <s:Label width="100%" text="JAPANESE" />
                                <s:TextArea  text="1 がアップデート後、文字が"
skinClass="spark.skins.mobile.TextAreaSkin" />
                                <s:Label text="2 がアップデート後、文字が" />
                                <s:Button label="3 がアップデート後、文字が" />
                                
                                <s:Label width="100%" text="CHINESE" />
                                <s:TextArea  text="1 轉換為繁體字后會變成錯"
skinClass="spark.skins.mobile.TextAreaSkin" />
                                <s:Label text="2 轉換為繁體字后會變成錯" />
                                <s:Button label="3 轉換為繁體字后會變成錯" />
                                
                                <s:Label width="100%" text="ARABIC" />
                                <s:TextArea  text="مرأة" 
skinClass="spark.skins.mobile.TextAreaSkin" />
                                <s:Label text="مرأة" />
                                <s:Button label="مرأة" />
                                
                        </s:VGroup>
                </s:Scroller>
        </s:VGroup>
</s:Application>



--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/Korean-text-not-displayed-in-spark-Label-tp4053p4169.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to