jenskutilek / sudo-font

Sudo, a font for programmers and command line users.
SIL Open Font License 1.1
403 stars 15 forks source link

Support for fractional scaling settings #29

Open tiagozc opened 2 months ago

tiagozc commented 2 months ago

Hi there. First, thanks for providing this font free of charge, it's great.

I'm reaching out directly to you because I'm running out of ideas to have your font working properly in my current setup. I have a 24" monitor, 2560x1440, which for me works best when the whole system is scaled to 125% (1.25).

On my setup (scaled to 125%), when I use any electron app with Sudo font, the Sudo font does not scale and is too small when compared to others (it seems its kept at 100% scale). That does not happen if I use a native app though. With native apps it scales properly. So, I understand that this can be an issue with electron based apps, but I have tried multiple different settings on it, and what intrigues me most is that other fonts don't have the same problem as Sudo font.

For example, here's a comparison side by side of JetBrains Mono (left) and Sudo font (right), both 16px size on Visual Studio Code.

out

That scaling problem happens on both Linux and Windows. I don't think it's an issue with your font, but at the same time I don't understand why it does not happen to others, like JetBrains Mono. Is there anything font wise that can be done to fix that?

Thank you.

jenskutilek commented 1 month ago

Sorry, I can't reproduce it.

It is true that Sudo will appear smaller than some other fonts, including JetBrains Mono, at the same pixel size. Maybe this is what you're seeing?