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

Add a way to load TTF fonts as outlines. #891

Open
SiegeLord opened this issue Mar 2, 2018 · 1 comment
Open

Add a way to load TTF fonts as outlines. #891

SiegeLord opened this issue Mar 2, 2018 · 1 comment

Comments

@SiegeLord
Copy link
Member

There's an existing patch here, seems like a good idea:

https://www.allegro.cc/forums/thread/611384

@EdgarReynaldo
Copy link
Contributor

I will take a look at this. I will try to "update" the patch to match current master branch first, and then I will see if it needs any modifications. One major concern I have is whether a single font should render a glyph or an outline or both. I can see the need for having an outline alone, with no body to the characters. That could be cool for lighting effects. They should always be saved with white though, so we can pass a color to al_draw_text_etc...and have it render the border that color on demand through a tinting blender.

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

No branches or pull requests

2 participants