this post was submitted on 12 Nov 2023
193 points (96.2% liked)

Programming

17511 readers
425 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

Mine is mononoki

https://madmalik.github.io/mononoki/

It is a very minimal clean looking monospace font with support for ligatures. What is yours ?

you are viewing a single comment's thread
view the rest of the comments
[–] aleq@lemmy.world 3 points 1 year ago (1 children)

I use SauceCode Pro (variant of SourceCode Pro with nerdfonts stuff). I've given up on changing it because everytime I do I find stuff that's "non-standard" in the fonts I test and it bugs the hell out of me. @ signs are the absolute worst offenders, which is weird because they have a very uniform look everywhere that's not a specialized "programming" monospace font.

[–] abhibeckert@lemmy.world 3 points 1 year ago* (last edited 1 year ago) (1 children)

The standard @ symbol has four horizontal lines and worse the right side of the "a" is a vertical line contained inside a circle without touching it.

In a variable width font it's often fully twice as wide as a regular "a" character. The variable width font lemmy uses for example, at least as rendered by my computer has six pixels for a lowercase "a" and also six pixels for the small one contained inside the "@" symbol, then another six pixels of width for the circle around it.

That's an impossible task in a fixed width code font where users typically choose a size so small that the regular "a" can't be reduced any further while still being readable.

Which is why basically all code fonts (including Source Code Pro) cheat and modify the symbol so the inner circle overlaps the outer one on the right edge. Some of them do that better than others at inventing their own variant of @.

[–] aleq@lemmy.world 1 points 1 year ago

Yeah I guess you're right. Probably just seen the Source Code Pro one so many times that I stopped being annoyed with it.

Should try exposing myself to the Jetbrains Mono font until I get used to that instead, then I won't have to fiddle with that part of the IDE settings.