Skip to content

Distinguish between italic and oblique variants of a font #78

Open

Description

@jgcodes2020

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

Activity

  1. toptensoftware commented on Jul 30, 2023

    @toptensoftware
    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.

  2. jgcodes2020 commented on Jul 31, 2023

    @jgcodes2020
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions