-
Notifications
You must be signed in to change notification settings - Fork 29
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
Issues rendering italic and underlines #60
Comments
interesting. looks like the font measurement function calcs off. |
The horizontal clipping is weird. |
The horizontal clipping is repro'ed and I think I've pinpointed the issue: Lines 342 to 348 in 4e77a9b
note that only the last glyph of an italic span gets clipped. |
@nree I'll push out a release soon. it should be fixed |
Looks very very good now! Some of the best I've seen 😁 Regarding line height issue: (italic g, y + underline) I noticed something new... it actually renders good (first render). But then on re-renders after it will clip. Is this a bug? So it seems possible to render these height issues good, just something in the render clips them after. |
Sorry for poor job on the pic but:
Top line is fvim
Bottom line is cmder / conemu running vim (nvim)
This is Windows 10, using same font (SF Mono), same vim config, same wsl / neovim.
I tried different fonts:
I've tested fonts on other apps: Cmder (conemu) in the picture, tested with visual studio code, and emacs.
The text was updated successfully, but these errors were encountered: