larsenwork / monoid

Customisable coding font with alternates, ligatures and contextual positioning. Crazy crisp at 12px/9pt. http://larsenwork.com/monoid/
7.85k stars 170 forks source link

Monoid is NOT monospaced #242

Open TobiasKnauss opened 3 years ago

TobiasKnauss commented 3 years ago

I downloaded Monoid about a year ago. Today, I noticed at some comments in old code, that the width of some characters actually differs from the width of most other characters. Take the following text and apply the Monoid font to it:

  //     (X+)                            (X+)
  //      ╔══╗                         ╔══╗
  //      X  Y                         X  Y
  //      XObX                         XObX
  //      ║je║                         ║je║
  //      ║ct║                         ║ct║
  //      ║ 3║                         ║ 3║
  //      o══╝─(Y+)─>                  ╚══o──(Y+)─>
![monoid font](https://user-images.githubusercontent.com/18487427/106360158-3d5f8580-6317-11eb-9906-00c722747d18.png)

The alignment here in GitHub, in MS Word and in VS 2019 look well, if Courier New, Consolas or other monospaced fonts are used. With Monoid, the vertical alignment of the boxes is broken (Screenshot from MS Word): monoid font

davidscotson commented 3 years ago

Hi, I was just looking for a new coding font and noticed this ticket.

Thought I'd mention that the example above, on github, in a browser using Consolas also looked odd to me, I think some of those characters aren't in Consolas and so it's substituting characters from another font, I'd guess the same might be true of Monoid. If I select the sample in Firefox, and use the dev tools to highlight fonts, the odd characters are revealed, basically the pipe ones. About half my monospaced fonts don't have those characters.

Screenshot 2021-04-08 at 11 58 40
hurricanerainbow commented 3 years ago

PowerShell Win10 isn't reading it as a monospace either. Just FYI