iOS: text styles

J. Landman Gay jacque at hyperactivesw.com
Thu Dec 22 14:55:46 EST 2011


Great! I was speculating, so thanks for posting. I'll try to remember 
that trick.

On 12/22/11 12:34 PM, Chris Sheffield wrote:
> Yay, this worked! Thanks again for the suggestion. Don't think I would have thought of it on my own.
>
> Chris
>
>
> 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>

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list