monaspace
monaspace copied to clipboard
Kerning issue with double forward slash ( `https://github...` )
In the default Terminal.app on macOS, the kerning immediately following two forward slash characters causes the next character to share the same space in the grid. For example, https://github...
renders as:
Another example:
**hey
//hey
Besides just the rendering issue, the kerning is severe enough that the terminal's cursor will appear offset for every character after the double forward slash. In the following two screenshots, the cursor is highlighting the letter y
of hey
I can reproduce this on macOS Sonoma 14.1.1, using the default Terminal.
The overlapped text only appears with the variable fonts. For example:
Monaspace Neon Regular, size 14: ok Monaspace Neon Var, size 14: overlapped
The pattern holds across the other 4 fonts. All the variable versions are bugged for //
.
The behavior is the same from a zsh prompt, in vi, or using cat.
Same sort of behavior can be seen by inputting 2 or more dots (periods) instead of slashes.
There's a workaround, flip to the non-"Var" version, which - for me - showed up in All Fonts and not under Fixed Width: https://github.com/githubnext/monaspace/issues/79#issuecomment-1811569036
Fixed in ca8015b27bdc6d8e1201b1ad722f4ae3c38970d0