Sitelet https://web.archive.org/web/20210214165740/https://github.com/flameshot-org/flameshot/issues/1249
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

Contrasting text outline, shadow or border #1249

Open
jstawik opened this issue Jan 21, 2021 · 1 comment
Open

Contrasting text outline, shadow or border #1249

jstawik opened this issue Jan 21, 2021 · 1 comment

Comments

@jstawik
Copy link

@jstawik jstawik commented Jan 21, 2021

It's very important for me for the text to be clearly visible when added to a screenshot. This is usually easily achieved by using black text with white background or white text with black background - but other colours usually look good with either (except maybe for very dark and very light colours).
I know that usually the implementations involve:

  • Creating a shadow
  • Creating a border

I do realise I can put a rectangle under text, but it's ugly and obscures a lot more of the image.

As a humorous reference: 😄 white text with black outline can be read on any color

@borgmanJeremy
Copy link
Collaborator

@borgmanJeremy borgmanJeremy commented Jan 23, 2021

Seem's straightforward enough. I'd like this to be integrated into the side menu with the other font effects (bold, strikethrough, etc).

I want to focus on other issues right now but I'll happily merge this. Here is some documentation from QT on how to do it: https://doc.qt.io/qt-5/qgraphicsdropshadoweffect.html

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

Successfully merging a pull request may close this issue.

None yet
3 participants