qvacua / vimr

VimR — Neovim GUI for macOS in Swift
https://twitter.com/VimRefined
MIT License
6.64k stars 218 forks source link

Graphical artifacts appearing with certain fonts and decreased line spacing #903

Open mgrubb opened 2 years ago

mgrubb commented 2 years ago

When using line spacing setting less than 1 (0.9 in my case) some fonts cause graphical artifacts to appear when scrolling, switching tabs, etc. Basically anytime the text moves it has a high chance of happening.

I've tried numerous combinations of the other options in the appearance preferences but none seem to have an effect. This behavior does not occur for any font I've tested with >= 1.0 line spacing setting. The fonts I've tested with:

Always behaves as expected: Courier New Monaco PT Mono Victor Mono

Always leaves artifacts when below 1.0 line spacing. Andale Mono Courier Cascadia Code PL (my usual font) Menlo Monoid

Here are my stats: VimR Version 0.36.0 (20220102.161018) NVIM v0.6.1 Build type: Release LuaJIT 2.1.0-beta3 Compiled by runner@Mac-1641133962346.local

Features: +acl +iconv -tui

MacOS 11.6.3 (BigSur) MacBook Pro (15-inch, 2018)

Also here's a screenshot of what I'm talking about: image