Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Distinguish between italic and oblique variants of a font #78

Open
jgcodes2020 opened this issue Jul 29, 2023 · 2 comments
Open

Distinguish between italic and oblique variants of a font #78

jgcodes2020 opened this issue Jul 29, 2023 · 2 comments

Comments

@jgcodes2020
Copy link

Skia supports this via the SKFontStyleSlant enum. This should be supported in RichTextKit.

@toptensoftware
Copy link
Owner

Thanks for reporting this. Are you suggesting a different style attribute to control this? Happy to add this, but currently pretty busy on other projects. Send a PR if you need it urgently and I'll consider merging it.

@jgcodes2020
Copy link
Author

This is more of a low-priority thing. As for attributes, it could replace the existing Italic attribute, and the old property would simply either set Upright or Italic, depending on the font.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants