-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Monaspace font ligatures only partially rendering correctly #8182
Comments
Is this something specific to a monaspace update? |
Oh and ligatures dont happen if parts of the composing characters are in different colors. If you wan to test type in an editor without syntax highlighting definitely not at a shell prompt. |
I looked at this briefly, as far as I can tell the font doesnt have either CALT or LIGA ligatures. I tried
which gives
which gives us the same glyph being repeated 3 times. AKA not a ligature. If harfbuzz doesn't find the ligature then kitty cannot either, since it uses harfbuzz for shaping. (hb-shape is the harfbuzz shaping utility). You should probably take this up with the font developers. If they can shed more light on the issue, do let me know. |
Thanks for the quick reply! I hadn't realised about the syntax highlighting difference, but can confirm the issue persists inside neovim (which is where I actually want to see them) I'll mention it on their repo. I guess VS Code must use a different approach to recognising ligatures? btw, it does look like the font has both calt and liga ligatures based on the README instructions for VSC setup:
|
On Wed, Jan 01, 2025 at 09:01:11AM -0800, James Backhouse wrote:
Thanks for the quick reply! I hadn't realised about the syntax highlighting difference, but can confirm the issue persists inside neovim (which is where I actually want to see them)
I'll mention it on their repo. I guess VS Code must use a different approach to recognising ligatures?
No, idea actually, never used it, but IIRC it's browser based so it will
probably use skia which at least nowadays uses harfbuzz as well. But as
demonstrated by hb-shape that font doesnt have ligatures in its calt and
liga tables for ===
|
Describe the bug
When using the latest (v1.101) version of the GitHub Monaspace font, only some of the ligatures are rendering correctly - even after manually setting the font features as per this suggestion in another issue
To Reproduce
Install Monaspace by cloning repo and running install script as per README
Select
Monaspace Argon Var
as the Kitty font (or any of the other variants)Apply the settings described in this issue
Screenshots
If no manual
font-feature
settings are applied, you see no ligatures at all:With the settings as per the linked issue, only certain ligatures are visible (which happen to be those that appear in red in the terminal, interestingly):
Expected ligatures can be found here
Environment details
Additional context
Reproducible with
kitty --config NONE
All ligatures work correctly in VS Code. More (but still not all) work correctly in Ghostty
Monaspace fonts are listed in MacOS font book as
fixed width
The text was updated successfully, but these errors were encountered: