1psf2raw(1)                         PSF Tools                        psf2raw(1)
2
3
4

NAME

6       psf2raw - convert part or all of a PC Screen Font file to a raw font
7

SYNOPSIS

9       psf2raw   [--first=FIRST]   [--last=LAST]   [--256]  [--flip]  [--code‐
10       page=CODEPAGE] [INPUTFILE [OUTPUTFILE]]

DESCRIPTION

12       psf2raw saves some or all characters from a .PSF font  as  a  raw  file
13       (plain  font data); this format is frequently used by console font edi‐
14       tors under DOS and other platforms.
15

OPTIONS

17       --codepage=x
18              Extracts only the characters in the given codepage (requires the
19              source  PSF file to have a Unicode directory). Any characters in
20              the codepage not present in the  source  font  are  replaced  by
21              blanks.  The  codepage  can  be specified by number or name; see
22              psfpages(1) for a list of acceptable codepage names.
23
24       --first=n
25              Extracts characters starting at the specified character.
26
27       --last=n
28              Extracts characters up to and including the specified character.
29
30       --256  Equivalent to --first=0 --last=255.
31
32       --flip Reverses the order if bits in each byte. Used to export to  sys‐
33              tems  such as the Apricot Xi where the mapping of bits to pixels
34              is the reverse of the convention on PC hardware.
35
36       If a codepage and a range of characters are both specified,  the  range
37       is applied to the subset of characters extracted by the codepage.
38

SEE ALSO

40       raw2psf(1), psfpages(1)
41

AUTHOR

43       John Elliott <jce@seasip.demon.co.uk>.
44
45Version 1.0.8                    21 June, 2008                      psf2raw(1)
Impressum