monoid icon indicating copy to clipboard operation
monoid copied to clipboard

Monoid is NOT monospaced

Open TobiasKnauss opened this issue 4 years ago • 2 comments

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

TobiasKnauss avatar Jan 30 '21 15:01 TobiasKnauss

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

davidscotson avatar Apr 08 '21 11:04 davidscotson

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

rainbowskydancer avatar Jun 20 '21 19:06 rainbowskydancer