this post was submitted on 12 Nov 2023
174 points (95.8% liked)

Programming

17031 readers
301 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
[โ€“] abhibeckert@lemmy.world 3 points 10 months ago* (last edited 10 months 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 10 months 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.