rhysd / NyaoVim

Web-enhanced Extensible Neovim Frontend
Other
2.22k stars 57 forks source link

Question: How to disable font-smoothing anti aliasing #128

Closed quenode closed 6 years ago

quenode commented 6 years ago

Hi All,

How to disable font smoothing / antialiased fonts, Probably some line in nyaovim .config/nyaovim/nyaovimrc.html like " -webkit-font-smoothing: none;" but not sure where Help :) I am using os x if that counts

rhysd commented 6 years ago

NyaoVim renders screen on <canvas>. I guess we can do it with passing antialias: false to second argument of getContext()

I think I can add a new option for this. But currently unable to specify it from outside.

quenode commented 6 years ago

Thank you so much :) @rhysd

rhysd commented 6 years ago

ah, antialias option is only for webgl renderer. So we need to investigate other way to make font not-smoothing...