githubnext / monaspace

An innovative superfamily of fonts for code
https://monaspace.githubnext.com
SIL Open Font License 1.1
13.16k stars 219 forks source link

Certain characters are not monospace #102

Open jdisanti opened 7 months ago

jdisanti commented 7 months ago

Problem

Certain characters used in terminal UIs are not monospace. Here is a screenshot with Argon for the following text:

textln!["╭ In progress ─────────────────────────────────────────────╮"],
textln!["│                                                          │"],
textln!["╰──────────────────────────────────────────────────────────╯"],

Argon monospace issue

To confirm its an issue with Argon and not VSCode, I tried it with the Hack font, and that looks fine:

No monospace issue with Hack

Fonts observed on

I only tried it on Argon and Neon, and it occurs on both.

isXander commented 7 months ago

This is because of the ligature.

Logo121 commented 7 months ago

That's because box drawing characters are not supported. There's a temporary partial fix in https://github.com/githubnext/monaspace/issues/43#issuecomment-1806688727