I have some LabelItemRenderers in my app that have a few StyleableTextFields in them:
I apply the text stylings through setStyle() functions during the "set data" method as the heading style can slightly differ depending on data. All fields use a system font.
The different styles show up on iPad 1 correctly (and in the desktop emulator). But, on iPad 3, the fontWeight and fontStyle settings don't render, but the text colour change does.
I've recently updated the AIR SDK to 3.3 and the problem still persists.
Finally had some time to try and trouble shoot this and figured it out. As I am using a single code base for multiple project types (Mobile, Web and Desktop), my global CSS fontFamily declaration was a comma separated string.
Two factors I think were at play that made the styles fail to render on the mobile:
1) Mobile apps can't use the comma separated string for fontFamily, only one entry can be used.
2) The comma string names may have provoked the global style to use one of the embedded fonts that doesn't have bold or italics included.
Whichever the reason, my solution was changing my default fontFamily for my mobile app to fontFamily: _sans; and styles now render correctly.
Europe, Middle East and Africa