psf2raw - Man Page
convert part or all of a PC Screen Font file to a raw font
Synopsis
psf2raw [--first=FIRST] [--last=LAST] [--256] [--flip] [--codepage=CODEPAGE] [INPUTFILE [OUTPUTFILE]]
Description
psf2raw saves some or all characters from a .PSF font as a raw file (plain font data); this format is frequently used by console font editors under DOS and other platforms.
Options
- --codepage=x
Extracts only the characters in the given codepage (requires the source PSF file to have a Unicode directory). Any characters in the codepage not present in the source font are replaced by blanks. The codepage can be specified by number or name; see psfpages(1) for a list of acceptable codepage names.
- --first=n
Extracts characters starting at the specified character.
- --last=n
Extracts characters up to and including the specified character.
- --256
- --flip
Reverses the order if bits in each byte. Used to export to systems such as the Apricot Xi where the mapping of bits to pixels is the reverse of the convention on PC hardware.
If a codepage and a range of characters are both specified, the range is applied to the subset of characters extracted by the codepage.
See Also
Author
John Elliott <jce@seasip.demon.co.uk>.
Referenced By
fnt2psf(1), psfs2mda(1), raw2psf(1).