fontstyles
does NOT yield a font style, it yields the font's slope class.
Sloping off
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
richmond62
- Livecode Opensource Backer

- Posts: 10248
- Joined: Fri Feb 19, 2010 10:17 am
Re: Sloping off
To be pedantic (as no much is happening any more on this forum), two comments:richmond62 wrote: ↑Fri Nov 21, 2025 8:01 pmfontstyles
does NOT yield a font style, it yields the font's slope class.
- Why is this a post
- Incorrect
Slope class refers to a font's degree of slant, which is typically categorised as normal (upright), italic, or oblique
fontStyles (<fontName>, <fontSize>) returns the list of available styles for a font. This include things like "bold" which has nothing to do with slant.
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
Re: Sloping off
Richmond,
The answer to your problem is in the other thread, Ruritanian letters have unicode values. You can sort away.
What is a "slope class"? FontStyles are things like Plain" and "Bold".
Craig
The answer to your problem is in the other thread, Ruritanian letters have unicode values. You can sort away.
What is a "slope class"? FontStyles are things like Plain" and "Bold".
Craig
