91861 / wayst

A simple terminal emulator
MIT License
287 stars 9 forks source link

PSF Font Support #38

Closed shoober420 closed 4 years ago

shoober420 commented 4 years ago

This might be an impossible request, but is it possible for Wayst to use the PSF fonts that are used in the TTY? On Arch, the fonts are located in the /usr/share/kbd/consolefonts/ directory. Example fonts here would be sun12x22.psfu.gz, drdos8x16.psfu.gz, and default8x16.psfu.gz.

91861 commented 4 years ago

It's not impossible, but freetype doesn't support PSF so it would require writing a custom loader. I don't think it's worth it. Most PSF fonts are available in other formats or can be converted (psf2bdf).

shoober420 commented 4 years ago

Ok, thanks for the information, I’ll check out that program.

I found a cool site that converted various old school fonts from vintage computer systems here.

https://int10h.org/

Fortunately, someone made an AUR package for the vintage IBM font I was looking for.

https://aur.archlinux.org/packages/ibm-fonts