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 Rendering / Clarity: Investigate subpixel rendering strategies #109

Closed
bryphe opened this issue Dec 14, 2018 · 1 comment
Closed

Text Rendering / Clarity: Investigate subpixel rendering strategies #109

bryphe opened this issue Dec 14, 2018 · 1 comment
Labels
A-rendering Area: Rendering artifacts, features etc. A-text Area: Text rendering skia-dependent This issue may be impacted or note relevant after Skia is integrated.

Comments

@bryphe
Copy link
Member

bryphe commented Dec 14, 2018

Issue: On Low DPI displays, the text rendering is not as clear as it could be.

One common technique for dealing with this is subpixel rendering, which exploits the fact that LGB displays tend to have strips in RGB order.

It's a strategy for increasing the resolution of font rendering by taking advantage of this pixel geometry.

@cryza did some amazing work in Oni to set up a full-WebGL based subpixel rendering strategy: onivim/oni#2120

The idea, as I understand it, was to render the same glyph 4 times (for each subpixel offset case), and then pick the appropriate one based on the pixel offset of the actual glyph. It would be great to have a similar strategy here, in combination with #108 - we'd have some really sharp font rendering 😄

@bryphe bryphe added the skia-dependent This issue may be impacted or note relevant after Skia is integrated. label Jun 6, 2019
@glennsl glennsl added A-rendering Area: Rendering artifacts, features etc. A-text Area: Text rendering labels Nov 26, 2019
@bryphe
Copy link
Member Author

bryphe commented Jan 30, 2020

This is here with #567 !

subpixel

image

Huge improvement in text clarity on low-DPI displays.

@bryphe bryphe closed this as completed Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rendering Area: Rendering artifacts, features etc. A-text Area: Text rendering skia-dependent This issue may be impacted or note relevant after Skia is integrated.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants