Yes, exactly. I want to implement a Styles menu which will list only the styles available for the selected font. FontStyles is supposed to give a return-delimited list of styles for a given font and font size (see the dictionary). But when I try it, it always gives me "plain, bold, italic and bold-italic" even when all those style aren't really available. Can someone try it and see what they get?

Marty Knapp
---------------------------
<www.KnappsterSolutions.com>
<www.CheckBuilderPro.com>


Scott.


The "fontStyles" returns all the styles of a particular font. Sort of like "the 
properties".


I think Marty is seeing styles listed that he believes do not comprise the 
style set of whatever fonts he is investigating.


Craig Newman



-----Original Message-----
From: Scott Rossi <sc...@tactilemedia.com>
To: LiveCode Mail List <use-livecode@lists.runrev.com>
Sent: Mon, Sep 10, 2012 9:22 pm
Subject: Re: fontStyle function working?


Do you mean textStyle?

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design



Recently, Marty Knapp wrote:

Anybody used the "fontStyle" function with success? No matter what I
throw at it I get the same result: "plain, bold, italic, bold-italic"
even when I know the font does not contain those styles.

Thanks,
Marty Knapp
---------------------------
<www.KnappsterSolutions.com>
<www.CheckBuilderPro.com>

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to