zed icon indicating copy to clipboard operation
zed copied to clipboard

Please add support for Open Type Bitmap fonts

Open DanPartelly opened this issue 1 year ago • 7 comments

Check for existing issues

  • [X] Completed

Describe the feature

Please consider adding support for open type bitmap fonts in Zed. Currently I cannot use them, Zed complains for example that Terminus is not a valid font selection.

Currently, true type font rendering is subjectively bad on Linux (and prolly other OSes) on any normal DPI monitors. The blurriness is pretty high, which makes it very uncomfortable for many eyes, especially for older persons. Until the vast majority of used monitors are 180+ DPI I believe support for bitmaps is crucial to support long programming sessions in any editor. The difference in crispiness of the text is enormous, and it is very easy on the eyes of the user.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

DanPartelly avatar Jun 04 '24 08:06 DanPartelly

Hm. In VS Code, I'm using a TTF version of terminus that is very crisp. However, in Zed, it's very blurry. I think an alternative to this is to have better TTF support.

AlexDaniel avatar Jun 18 '24 19:06 AlexDaniel

See also: https://github.com/zed-industries/zed/issues/7992#issuecomment-2177138016

AlexDaniel avatar Jun 26 '24 23:06 AlexDaniel

Hm. In VS Code, I'm using a TTF version of terminus that is very crisp. However, in Zed, it's very blurry. I think an alternative to this is to have better TTF support.

I use real Terminus in Sublime Text and my terminal and the TTF facsimile cannot compete. Better vector font rendering is a good thing, but it is not an alternative to bitmap font rendering. Lack of OTB support is a big reason why I don't use VS Code - it is that big of a deal.

JackNWhite avatar Jul 11 '24 08:07 JackNWhite

@JackNWhite TTF version of terminus ends up being pixel perfect (same as the bitmap font) in VS Code. Personally, I think that it is an alternative. I mean, why not, if the pixels end up being the same?

AlexDaniel avatar Jul 11 '24 09:07 AlexDaniel

@AlexDaniel It's never been my experience in any software that Terminus TTF is rendered pixel perfect, which is why I am so keen on OTB font support.

JackNWhite avatar Jul 11 '24 10:07 JackNWhite

For the record @AlexDaniel perhaps this apparent difference in DPI is a reason why it doesn't work for you. I tried out Fira Code in both Zed and Sublime Text at size 15, but they are very different.

image

JackNWhite avatar Jul 11 '24 13:07 JackNWhite