fvim icon indicating copy to clipboard operation
fvim copied to clipboard

Emojis cut off

Open Kethku opened this issue 6 years ago • 2 comments

image

Win 10 nvim v0.4.0

Setting: if exists('g:fvim_loaded') FVimFontAntialias v:true FVimFontAutohint v:true FVimFontSubpixel v:true FVimFontLcdRender v:true FVimFontHintLevel 'full' FVimFontAutoSnap v:true endif

Kethku avatar Sep 19 '19 19:09 Kethku

can confirm for Win10 , emoji clips right boundary on most input conditions (but doesn't always clip) for initial render.

Example keying in order: 😀 aa clips slightly (there's 2 spaces there, 3 space is ok) 😀a a is ok 😀aa is not ok 😀😀😀 is ok

Forcing it to redraw screen always ok, unless you start editing right of emoji again. (Btw @yatli how to do full redraw for debugging? Right now I just do <C-f> <C-b> )

Looks like it has to do with fvim waiting to see if the next 3 characters is some sequence for unicode or some other encoding, and creates a big boundary (treats 3 characters as 1) that clips into the emoji.

Looks like it does this for other characters too, just only in emojis you can visually see it... ȧaa etc. will clip ȧ right boundary.

nree avatar Sep 20 '19 13:09 nree

upstream issue: https://github.com/neovim/neovim/issues/7151

yatli avatar Sep 20 '19 14:09 yatli