Skip to content
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

Broken "&&" ligature on Kitty terminal #235

Open
Waces opened this issue Apr 17, 2020 · 2 comments
Open

Broken "&&" ligature on Kitty terminal #235

Waces opened this issue Apr 17, 2020 · 2 comments

Comments

@Waces
Copy link

Waces commented Apr 17, 2020

Basically, when using Monoid on Kitty terminal, the "&&" ligature appears small, though for what I tested it only happens with this one specific ligature from this font, on Kitty; All others ligatures from Monoid work fine, the "&&" ligature from other fonts (tested with Victor Mono and Fira Code) appear fine in that terminal, the "&&" ligature from Monoid is fine at least on other terminals/text editors for me.

Screenshot_200417_194718
Screenshot_200417_191622

[Because of how specific it is] I honestly don't know if it's actually something to do with Kitty, if it's Monoid, or both, sorry in advance if this is not an issue with Monoid.

@kovidgoyal
Copy link

This will be because the && ligature is wider than two characters, breaking the monospace promise of the font. https://sw.kovidgoyal.net/kitty/faq.html#some-special-symbols-are-rendered-small-truncated-in-kitty

@Waces
Copy link
Author

Waces commented Apr 20, 2020

Doing some very rough measuring in FontForge (as someone who doesn't known almost anything about font making), the vector curves seem to not be more than two characters (the glyph being 1024 and the vector stopping before 2048), but then, I don't know if it also has to do with ampamp being offset to the right of the character box while other ligatures (at least for what I saw) are offset to the left

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants