iOS: text styles
cmsheffield at me.com
Thu Dec 22 10:19:44 EST 2011
Thanks, Jacque. I'll give that a try. Kind of a pain, but if it keeps me going I'm happy.
On Dec 21, 2011, at 8:27 PM, J. Landman Gay wrote:
> On 12/21/11 4:42 PM, Chris Sheffield wrote:
>> Set the standalone settings for iPad, etc. Launch it in the
>> simulator. Does the word "are" appear in italics? It doesn't for me.
>> Should it? The same thing works fine in the IDE. But when run in the
>> simulator or on a device the text is not styled. I did just try using
>> Helvetica instead of Arial and that seems to work okay.
>> Unfortunately, I need Arial and not Helvetica.
> I vaguely recall something similar happening to me. What I think is going on is that iOS won't generate fake styles like bold and italic; it will only use fonts that have separate style faces in the font family. I haven't tried it, but it might work to set the font name rather than the style:
> <p>Howdy! How <font="Arial-ItalicMT">are</font> you today?</p>
> The font names for iOS 5 are here: <http://iosfonts.com/>. iOS 4 has all the Arials too.
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode