26f59f8992 | 3 years ago | |
---|---|---|
.. | ||
fntcol16 | 3 years ago | |
mappings | 3 years ago | |
4x6.psf | 3 years ago | |
6x12.psf | 3 years ago | |
8x13.psf | 3 years ago | |
9x15.psf | 3 years ago | |
9x18.psf | 3 years ago | |
10x20.psf | 3 years ago | |
18x18.psf | 3 years ago | |
README | 3 years ago | |
README.md | 3 years ago | |
bmp2psf2.c | 3 years ago | |
cour11x17.psf | 3 years ago | |
cour20x29.psf | 3 years ago | |
default.psf | 3 years ago | |
dosemu.psf | 3 years ago | |
lc12x20.psf | 3 years ago | |
makefile | 3 years ago | |
medieval2.psf | 3 years ago | |
vga11x19.psf | 3 years ago |
README.md
PSF2 fonts
At present, these fonts work only with the Linux framebuffer port. It is likely that they'll eventually be used with SDLn and DOSVGA, and possibly others, thereby enabling a lot of redundant code to be consolidated.
SDLn in non-wide mode uses its own font format, in which the font is a monochrome Microsoft(R) Windows .bmp file, with 32 characters across and eight down. For example, this is the default SDLn font :
At one time, a wide selection of SDL fonts was distributed with PDCurses. The bmp2psf2
program was written to convert SDL-formatted fonts into the psf2
format. psf2
is more widely used and allows for more than 256 glyphs (in fact, up to 2^32-1 glyphs, with Unicode information.)
This directory contains the SDL fonts after conversion to the psf2
format. See the README file for details on which fonts are which, history, and copyright/licence info.
Tools are available elsewhere for manipulating/converting psf2
fonts.