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

Monochrome rendering? #95

Open
Odddity opened this issue Sep 3, 2024 · 0 comments
Open

Monochrome rendering? #95

Odddity opened this issue Sep 3, 2024 · 0 comments

Comments

@Odddity
Copy link

Odddity commented Sep 3, 2024

I guess my question is how to implement the effects of FT_LOAD_MONOCHROME and FT_LOAD_TARGET_MONO when loading/rendering glyph outlines?

From what I understand, the difference with monochrome load/rendering is not only drawing fully opaque (eg. using a MonochromePainter to wrap the AlphaSrcPainter) -- but even the algorithm that decides how to render the glyph. Because just rendering with the same hinting/metrics/whatever but opaque, instead of with antialiasing, doesn't look right. Unfortunately I don't really understand the details.

So... any pointers? Where do I begin?

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

1 participant