Monaspace
monaspace.githubnext.com
external-link
An innovative superfamily of fonts for code
@jeffhykin@lemm.ee
link
fedilink
20
edit-2
1Y

I like all of it, except for that awful “texture healing”. Imagine having words above & below like

i=mins
w=maxs

But the m’s just slightly don’t line up because the top one is wider than the bottom one. I’d feel like my editor was gaslighting me 🤢

Here’s your code example in the editor. I don’t personally think the difference between the 'm’s is super noticable. But what did strike me a lot more is the difference in height between the two 'i’s in the first line. I think that difference is pretty bad.

@jeffhykin@lemm.ee
link
fedilink
5
edit-2
1Y

thanks for rendering that! and yeah that height difference is really weird. That almost seems like a bug.

Also Idk if the ='s make the m smaller or bigger.

If the streching is so small as to be unnoticable (and I agree it’s pretty subtle) then I also don’t really understand the benefit.

If the streching is so small as to be unnoticable (and I agree it’s pretty subtle) then I also don’t really understand the benefit.

Typically, the idea behind this sort of design is that it should be unnoticeable. The motivation is that, with other monospace fonts, the differences in character width, along with the inconsistent spacing and line thicknesses are both noticable and distracting. Some of this badness is avoidable, and this is what this font attempts.

and yeah that height difference is really weird. That almost seems like a bug.

I’ve been informed, (and had to double check because I didn’t believe it,) that the two "i"s are actually the exact same height. The first looking larger than the second is an optical illusion. Font design is hard.

@jeffhykin@lemm.ee
link
fedilink
1
edit-2
1Y

Eh I don’t really buy the noticeable argument. Either it’s not noticeable both ways (doesn’t matter that m is squished all the time) or it’s not noticeable both ways (expanding m doesn’t align and it’s noticeable and annoying).

Optical Illusion

Wait no, its the fault of the stretching! I mean yes, the i’s are the same hight (which is shocking, thank you for correcting us on that) but the reason it’s an optical illusion is because the i on the left is wider and wide m exaggerates the thinness of the i on the right! Turn off the stretching and suddenly the i’s look the same height.

Edit: I see someone else already pointed this out

This is what I meant by “feeling like my editor is gaslighting me”

It looks like it’s not an actual height difference, but the smaller width makes the second i look significantly smaller than the first, also implying a lower height.

Welp, another reason I will absolutely not be using glyph-streching or whatever Microsoft called it.

True, they are the exact same height. Holy optical illusion, Batman!

I suppose this is part of what makes font design so difficult.

They would still line up, wouldn’t they? Or am I misunderstanding how the texture healing would work… Would they not take the same total amount of space?

@jeffhykin@lemm.ee
link
fedilink
10
edit-2
1Y

Each line is the same total length but the “m” in “mi” would be wider than the m in “ma”

Create a post

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



  • 1 user online
  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 1 user / 6 months
  • 1 subscriber
  • 1.21K Posts
  • 17.8K Comments
  • Modlog