Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 90089

Re: StageText iOS use Custom Font Tip

$
0
0

Hi Anton,

 

I looked at you're blog and that solution did indeed work for iOS but not for Android.
I've trie'd embedding it via code/swf and every other possibility.
At the moment i'm trying to embed it via AS3:

 

    [Embed(source="../_assets/OldSansBlackUnderline.otf",
   fontName = "myFont",
   mimeType = "application/x-font-truetype",
   fontWeight="normal",
   fontStyle="normal",
   advancedAntiAliasing="true",
   embedAsCFF="true")]  

 

When i run it on my Mac i can see the font in the StageTextfield but when i have compiled it for Android it uses a default system font.
Does any one have a solution for Android ?  Download link for font: https://github.com/hobu/commonlandunit/blob/master/mapfiles/symbols/OldSansBlackUnderline. ttf?raw=true
Further more does any one know if it's possible to display underlined text in a StageTextField ?


Viewing all articles
Browse latest Browse all 90089

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>