microsoft / terminal

The new Windows Terminal and the original Windows console host, all in the same place!
MIT License
95.09k stars 8.24k forks source link

Raster/VGA/Code page 437 font #2013

Closed ghosttie closed 5 years ago

ghosttie commented 5 years ago

It would be nice if the Terminal had the option to use raster fonts, or if there was an official TTF version of the VGA/Code page 437 font.

In the past people have created unofficial TTF versions of the Code page 437 font (Perfect DOS VGA 437 and More and Less Perfect DOS VGA) but in spite of their names they're not perfect.

I think users would want this because people who intentionally choose to use a console are the same people who would be nostalgic for the fonts of their youth.

An argument against it would be that Code page 437 doesn't contain characters for other languages/unicode/emojis. Potentially these could be added for full compatibility (if that's possible in 8x16 pixels) or left as a known limitation that users would know they're opting in for by using the font.

zadjii-msft commented 5 years ago

This is gonna be a hard no. I am not the person qualified to rant on why we're not supporting raster fonts in the terminal, but needless to say it's a inconcievably complicated mess that we're just not going to add a compatibility layer for. I'd recommend finding a TTF that comes close to the right appearance for you.

@miniksa is the person who'll have a longer rant (if you're interested)

miniksa commented 5 years ago

Raster fonts don't work in DirectX. Terminal uses a DirectX renderer.

I have a lot more to complain about in this space, but I have already wasted enough of my life to raster fonts that I'm going to just stop there and "Won't Fix" this.

ghosttie commented 5 years ago

Is that also a no on an official TTF version of the Code page 437 font?

miniksa commented 5 years ago

Correct. That would cost money. To get money to recreate the font, I'd have to convince someone to pay for it. I don't think I can convince anyone to pay for it for nostalgia purposes.

miniksa commented 2 years ago

With #9164 and #10461, it is theoretically possible that we would re-support these one day.

twisted-nematic57 commented 1 year ago

I got it working perfectly by installing the attached files (Less Perfect has tighter kerning while More Perfect is easier on the eyes). Make sure to turn off anti-aliasing in your profile's appearance settings.

Originally obtained from here RasterFonts.zip