monaspace icon indicating copy to clipboard operation
monaspace copied to clipboard

Certain characters are not monospace

Open jdisanti opened this issue 2 years ago • 2 comments

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.

jdisanti avatar Nov 13 '23 15:11 jdisanti

This is because of the ligature.

isXander avatar Nov 14 '23 08:11 isXander

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

Logo121 avatar Nov 14 '23 10:11 Logo121

Box drawing glyphs are added in 1.2!

Enjoy all the boxes! ✨

idan avatar Feb 07 '25 00:02 idan