Hi,

It sounds like you haven't embedded your font into your application. Its
working on your desktop as you have the font installed.

You will need to embed the font(s) and weighting you need to make sure they
are available on every device/computer

This page is a good place to start:
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-
7f5f.html

PS if you are mixing spark and mx components you will need to embed the font
twice: using the Boolean embedAsCFF true for spark and false for mx


-----Original Message-----
From: szheigh [mailto:[email protected]] 
Sent: 22 November 2013 01:09
To: [email protected]
Subject: Mobile Label Font Family / Font Weight

I am developing a mobile app using Flex and I have some Spark Labels, and I
want to be able to set the font family and font weight. Here's my MXML code:

<s:Label text="Testing" fontWeight="bold" fontFamily="_typewriter" />

This works fine on my computer, but when I install the app on my Nexus 4,
the text isn't bold and it's using the default font. Also the same when I
try setting it with AS3.
It should be noted that it works flawlessly when I use a TextInput, but it
seems like using a Label is much simpler.

How can I get this working on a mobile device?
TYIA



-----
Beware of Newbie - I'm new to AS3 and Flex.
--
View this message in context:
http://apache-flex-users.2333346.n4.nabble.com/Mobile-Label-Font-Family-Font
-Weight-tp3878.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to