As I recall, in the olden days, no matter what specific styles were included, 
plain, italic, bold and bold-italic were always styles you could choose, even 
if the OS had to fudge them. That may still be the case, in which case you 
would always get those styles. 

Bob


On Sep 10, 2012, at 7:36 PM, Marty Knapp wrote:

> 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


_______________________________________________
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