Closed belafonte closed 1 year ago
Does not reproduce for me. Indeed, ligatures are rendered only once on first use, just like all glyphs in kitty, so the number of ligatures is irrelevant once they are rendered, they are rendered.
It does not happen always and yes it might be related to my specific setup as it mostly occurs on long nvim sessions with many terminals.
But there is some issue and it is definitely related to ligatures, since turning off ligatures resolves the issues directly.
From what i observed, i seems that at some point there is some heavy processing on the CPU. When ligatures are enabled and i scroll in nvim, CPU spikes.
When turning of ligatures, everything is working smooth again. So yes it might also be a nvim but, but still it is weird, that turning ligatures resolves the issue.
Well if you can find a simple reproducer I can take a look.
Describe the bug Performance drops with font with many ligatures and larger files ( e.g. JetBrains Mono Font ).
https://www.jetbrains.com/lp/mono/
To Reproduce Steps to reproduce the behavior:
Set JetBrains Mono in config.
Open larger text file.
Cursor is slow.
Environment details