Less and less fonts displayed correctly on Android
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:
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 Apache Flex forums as I am not sure who is responsible for fixing this.
<?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>

