fontStyle function working?

Mark Wieder mwieder at ahsoftware.net
Tue Sep 11 16:24:04 EDT 2012


Marty Knapp <martyknappster at ...> writes:

> 
> 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?

Fedora Core 16 xfce spin

put the fontstyles("DejaVu Sans", 12)

Condensed
Oblique
Condensed Bold Oblique
Condensed Oblique
Condensed Bold
ExtraLight
Bold Oblique
Bold
Book

-- 
 Mark Wieder
 mwieder at ahsoftware.net





More information about the use-livecode mailing list