githubnext / monaspace

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

Alignment issues (example: VSCode Notebook output cell) #143

Open JulianCologne opened 7 months ago

JulianCologne commented 7 months ago

A lot of "Data work" these days is done with "DataFrame-libraries" which present data in tabular form which you can print to show the content

It should look like here on github with correct alignment

# DataFrame / table
┌─────┐
│ x   │
│ --- │
│ i64 │
╞═════╡
│ 1   │
│ 2   │
└─────┘

# some more examples
       x
└      x
 ─     x
─────  x
└────┘ x
────── x

Unfortunately it looks like this: image

image

is there a possibility to "fix" this? 😀

idan commented 7 months ago

This is happening because Monaspace does not include box drawing glyphs, and as a result your terminal is falling back to glyphs from a different font which don't have the same metrics as monaspace.

I added this to the list of potential improvements we might make down the road!

epegzz commented 7 months ago

Addressing this would be lovely! ❤️

I adore your font and this for me is the only shortcoming so far 😊

CleanShot 2023-12-02 at 10 14 38@2x