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

[Help Wanted] strange font size in ligatures #7142

Closed
subframe7536 opened this issue Feb 22, 2024 · 1 comment
Closed

[Help Wanted] strange font size in ligatures #7142

subframe7536 opened this issue Feb 22, 2024 · 1 comment

Comments

@subframe7536
Copy link

Hello, I'm developing a monospace font. I have encountered a issue with ligatures in kitty terminal and cannot figure out why this happen, so I'm here asking for help.

For example, in ##, all # will be replaced a new glyph that have logger horizon line to fix the gap, but unexpectedly, the font size is decreased. You can see more details in the original issue

@subframe7536 subframe7536 changed the title [Help Wanted] strange font size when have ligatures [Help Wanted] strange font size in ligatures Feb 22, 2024
@kovidgoyal
Copy link
Owner

The font size will be decreased when the glyph does not fit in the
available space for it. Your replacement glyph needs to be the exact
same length including leading etc as the N original glyphs in a
monospace font.

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