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

NAME

6       raw2psf - convert a headerless monospaced font to PSF format
7

SYNOPSIS

9       raw2psf  [--height=x]  [--width=x]  [--skip=x]  [--first=x]  [--last=x]
10       [--codepage=page] [--flip] [--512] [--psf1] [--psf2]  [INPUTFILE  [OUT‐
11       PUTFILE]]

DESCRIPTION

13       raw2psf  converts  various  types  of raw font file (ie, one containing
14       only bitmap font data with no headers) to the PSF format.
15

OPTIONS

17       --height=n
18              Specifies the height of the characters. If the raw font is being
19              read  from  standard input, this option must be present; if not,
20              it is guessed from the file size, but can be overridden if  nec‐
21              essary.
22
23       --width=n
24              Specifies  the  width  of  the  characters (default is 8 bits, 1
25              byte).
26
27       --flip Mirrors all the bytes. For importing fonts from systems such  as
28              the Apricot Xi, where the bit-to-pixel mapping is the reverse of
29              normal.
30
31       --skip=n
32              Skip over n characters before starting to import. Use if  a  raw
33              font  file  has  several fonts, to extract the second and subse‐
34              quent fonts.
35
36       --first=n
37              Set the index of the  first  character  to  assign  in  the  PSF
38              (defaults  to 0).  Use if the raw font does not start with char‐
39              acter 0; for example, Sinclair Spectrum fonts usually begin with
40              character 32.
41
42       --last=n
43              Set  the  index  of  the  last  character  to  assign in the PSF
44              (defaults to 255).
45
46       --512  Equivalent to --first=0 --last=511
47
48       --psf1 Force output in the PSF1 format.
49
50       --psf2 Force output in the PSF2 format (default).
51
52       --codepage=page
53              Add a Unicode directory for the specified codepage, which can be
54              identified  by  number  or  name.  See psfpages(1) for a list of
55              valid codepage names.
56

SEE ALSO

58       psf2raw(1), mda2psf(1), psfpages(1)
59

AUTHOR

61       John Elliott <jce@seasip.demon.co.uk>.
62
63Version 1.0.8                    21 June, 2008                      raw2psf(1)
Impressum