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

Text outline #87

Closed
mazsibazsi opened this issue Apr 19, 2023 · 3 comments
Closed

Text outline #87

mazsibazsi opened this issue Apr 19, 2023 · 3 comments

Comments

@mazsibazsi
Copy link

Hello!

I am looking to add outlines to my text.

I have a bunch of kfn (karaoke) files, made by volunteers, and I am building a player for those files. Hence fonts, text colors and text outline colors are already given, and I would like to respect those choices as much as possible.

Is there any way I could outline individual characters, so that it remains readable, unlike picrel?
kép

@Revertron
Copy link
Contributor

You can draw the same text in outline color 1-2 pixels up, down, right and left, and then draw the actual text over it.

@mazsibazsi
Copy link
Author

You can draw the same text in outline color 1-2 pixels up, down, right and left, and then draw the actual text over it.

That is actually not a bad idea. Thanks!

@Revertron
Copy link
Contributor

That's how we were doing it in the era of J2ME phones ;)

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