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

Can anti-aliasing be disabled? #152

Closed
nigels-com opened this issue Jan 8, 2019 · 3 comments
Closed

Can anti-aliasing be disabled? #152

nigels-com opened this issue Jan 8, 2019 · 3 comments

Comments

@nigels-com
Copy link
Contributor

I'm setting up a new machine, a bit less focused on getting things done day to day.

I did this quick comparison of text legibility in extraterm vs terminator vs xterm

I'm feeling like there is some merit to pure bitmap (non anti-aliased) mono-spaced terminal text.

Thing is, will electron and/or chrome even let you turn off smoothing?

screenshot from 2019-01-08 16-05-49

@sedwards2009
Copy link
Owner

There are some basic knobs and levers which can be played with to change the text rendering. But I want to give this issue some attention only after I've written my own canvas and font atlas based renderer for the terminal screen.

@sedwards2009
Copy link
Owner

Using the canvas API and drawing there are very few ways of controlling anti-aliasing, even less than in normal CSS. That said, I've got some ideas on making a pixel level contrast filter of sorts which could cut out a lot of the "halos" you sometimes see on text when the font size and device pixels don't align very well. (I see this happening the most with bold text.)

I'm not against bitmaps fonts. The new canvas/font atlas rendering approach could accommodate them. The biggest problem is that I'm just not aware of any modern bitmaps fonts which come in big enough sizes for today's screens.

@sedwards2009
Copy link
Owner

Text in v0.53.0 will now use subpixel AA when possible which should improve quality and at least bring it to the same standard as other apps.

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