Skip to content

Support StrokeWidth on text #34

Open

Description

@m1dst

Historically (before I transitioned to this library) I would draw text twice. Once with a dark coloured text and a stroke. Then again with another colour over the top to give a high contrast to the text.

It would be great to be able to reproduce this effect. At the moment I'm having to set a background colour instead which is not quite as nice to look at.

image

Would you consider adding this feature or advise me how to achieve it if I have missed it in the docs.

Thanks

Activity

  1. toptensoftware commented on May 21, 2021

    @toptensoftware
    Owner

    RichTextKit doesn't support this out of the box. I'm open to adding it but busy on other projects at the moment so can't guarantee it. If you'd like to have a go at adding it yourself I'm happy to consider a pull request. If this doesn't affect the layout part of RichTextKind (not sure) the render part of RichTextKit is pretty simple so it shouldn't be too hard.

  2. charlenni commented on Jan 6, 2022

    @charlenni
    Contributor

    @m1dst Perhaps #44 is what you are looking for?

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