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

Are there plans to include gamma blending and stem darkening for rendering? #195

Open
kkanungo17 opened this issue Oct 5, 2023 · 4 comments

Comments

@kkanungo17
Copy link

As described by this freetype article: https://freetype.org/freetype2/docs/hinting/text-rendering-general.html

@xalt7x
Copy link

xalt7x commented Mar 18, 2024

Related to:

@kkanungo17
Copy link
Author

Yes, we finally got a DE with gamma blending for text. Now just waiting on stem darkening.

@xalt7x
Copy link

xalt7x commented Mar 18, 2024

Now just waiting on stem darkening.

I'd like it as well, but unfortunately, on Linux stem darkening might not look good with some OTF fonts.
For example, see issues with Noto Sans OTF:

Pop!_OS currently uses OTF versions of Fira fonts.

I hope that either the developers of Freetype, the maintainers of iced, or the maintainers of COSMIC will be able to tweak/fix it somehow.

@kkanungo17
Copy link
Author

kkanungo17 commented Mar 18, 2024

I think the problem with those is that the fonts either aren't gamma blended (GTK), or use a value that doesn't match the display (I think Qt uses 1.8 instead of 2.2). I'm just guessing though, let's see what COSMIC devs come up with.

EDIT: Though this does raise the interesting question, what if the display in question doesn't use 2.2?

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