xtermjs / xterm.js

A terminal for the web
https://xtermjs.org/
MIT License
17.77k stars 1.64k forks source link

Support configuring anti-aliasing on renderer #2464

Open Tyriar opened 5 years ago

Tyriar commented 5 years ago

VS Code has a mac-specific feature that allows configuring of anti-aliasing on rendered text, this is because macOS by default disabled anti-aliasing so when you plug a macbook into a regular dpi monitor is looks all choppy and awful. Additionally sub-pixel anti-aliasing can look bad on retina displays.

VS Code issue: https://github.com/microsoft/vscode/issues/36249

JeffreyCA commented 5 years ago

Disabling anti-aliasing on the canvas element does not seem straightforward.

For the DOM renderer we might be able to use the -webkit-font-smoothing property.

Tyriar commented 5 years ago

I believe for canvas it's as easy as making the canvas that the character are drawn to be set to transparent.

jukrb0x commented 2 years ago

image

terminal font antialiasing is still not working on today's vscode, sad tho.

cyraid commented 1 year ago

Poke ..?