tickrs
tickrs copied to clipboard
Line drawing macOS has strange gaps and looks different from linux
Every 4 dots (vertically) there is a dot missing. Line looks patchy and thinner than on macOS for the same font, same vertical horizontal spacing.
This is a font issue. Use a terminal where you can configure line height or y-offset and lower it. I do this with Alacrity to remove gaps with my preferred font.
I also use Alacritty. y-offset does not fix this no matter what unfortunately. I've played around with it quite a bit. Also worth noting that the same y-offset settings on Alacritty render differently on macOS vs linux (ubuntu, gnome).
The above picture is the best I could get while playing with y-offset. Without y-offset, the difference is much more apparent:
Also even with no offsets, the gap issue is not present on Linux, so I believe it is an OS-related rending issue, at least in part. If there are specific fonts/offset combinations you would like me to test that would be helpful, let me know!
Are you using identical fonts between Linux and Macos?
If you're using alacrity on both platforms, it is most likely an upstream issue there.
Yep, identical fonts across both Linux and macOS. Hm, I don't think it's an Alacritty either since the issue occurs on other terminal emulators as well on macOs but not on Linux.
Fonts tried on both macOS and Linux:
- JetBrains Mono
- Ubuntu Mono (w/ NerdFont glyphs, same font file on both)
- Menlo
- Fira Code
- Roboto Mono
For example:
- macOS
- Alacritty (issue occurs) (with and without y-offset)
- Terminal (issue occurs) (no y-offset)
- iTerm (issue occurs) (no y-offset)
- Linux
- Alacritty (no issue) (with and without y-offset)
- Gnome Terminal (no issue) (no y-offset)
- Kitty (no issue) (no y-offset)