Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monoid is NOT monospaced #242

Open
TobiasKnauss opened this issue Jan 30, 2021 · 2 comments
Open

Monoid is NOT monospaced #242

TobiasKnauss opened this issue Jan 30, 2021 · 2 comments

Comments

@TobiasKnauss
Copy link

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
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants