iOS: text styles

Randy Hengst iowahengst at mac.com
Wed Dec 21 20:36:19 EST 2011


Hi Chris,

I'll confirm  LC 5.0.2 OSX 6.8 -- "are" does not appear in italics.

I've noticed this in the past. Setting Arial to bold, etc in the inspector doesn't have any effect either. I have no idea why.

be well,
randy
-----
On Dec 21, 2011, at 4:42 PM, Chris Sheffield wrote:

> I've about driven myself crazy over this one today, but it turns out I think I may have found a bug. Either that or very strange expected behavior. So I'm wondering if someone wouldn't mind checking this for me to see if the results are the same. Should only take a couple minutes.
> 
> Create a new stack. Place one field on it. Make the stack, field, and font size large enough to read easily on an iPad (or in the simulator). Set the font of the field to Arial. In the preOpenCard handler, set the htmlText of the field. Something like:
> 
> 	set the htmlText of fld 1 to "<p>Howdy! How <i>are</i> you today?</p>"
> 
> 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.
> 
> Anybody have any suggestions here? This is very nearly a showstopper if it's a bug. Really need this to work.
> 
> Thanks,
> Chris
> 
> 
> --
> Chris Sheffield
> Read Naturally, Inc.
> www.readnaturally.com
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list