Sloping off
Posted: Fri Nov 21, 2025 8:01 pm
fontstyles
does NOT yield a font style, it yields the font's slope class.
does NOT yield a font style, it yields the font's slope class.
Questions and answers about the LiveCode platform.
https://forums.livecode.com/
To be pedantic (as no much is happening any more on this forum), two comments:richmond62 wrote: Fri Nov 21, 2025 8:01 pm fontstyles
does NOT yield a font style, it yields the font's slope class.
The Dictionary wrote: The fontStyles function returns a list of available styles, one per line.
...
The font styles are returned in a return delimited list, such as the following one:plain
bold
italic
bold-italic
Google is your friend.dunbarx wrote: Fri Nov 21, 2025 9:18 pm What is a "slope class"? FontStyles are things like Plain" and "Bold".