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

NAME

6       psfs2cpi - Construct a .CPI codepage from one or more PSF files
7

SYNOPSIS

9       psfs2cpi  [--device=DEV] [--comment=TEXT] [--drfont] [--nt] [ +CODEPAGE
10       | +CODEPAGE=CPNAME ] INPUTFILE [INPUTFILE  ...]   [+CODEPAGE  INPUTFILE
11       [INPUTFILE ...]]  OUTPUTFILE

DESCRIPTION

13       psfs2cpi combines one or more PSF files into a CPI file.
14
15       When  run, it takes a list of codepage numbers. Each number should then
16       be followed by the names of one or more PSF files, from which the char‐
17       acter shapes should be obtained. For example, the command:
18
19       psfs2cpi  +437  eg8.psf  eg16.psf  +850  eg8.psf  eg16.psf +860 eg8.psf
20       eg16.psf +863 eh8.psf eh16.psf eg.cpi
21
22       will generate a CPI file called eg.cpi, containing codepages 437,  850,
23       860  and  863  in  two  sizes. The first three codepages will have been
24       based on eg8.psf and eg16.psf; the last on eh8.psf and eh16.psf.
25
26       A codepage number can be followed by a directive saying  which  mapping
27       table  will  actually  be  used. For example, if the start of the above
28       command had read:
29
30       psfs2cpi +437=PPC437 ...
31
32       then codepage 437 would have been generated using the slightly  differ‐
33       ent PPC437 mapping.
34
35       If the PSF files in question have Unicode directories, and the codepage
36       is one of the ones known to psfs2cpi, then the appropriate glyphs  will
37       be  extracted  from the file; this is how three code pages can be based
38       on a single PSF file. If the codepage number is not known, or  the  PSF
39       file has no Unicode directory, then the first 256 characters of the PSF
40       file will be used.
41

OPTIONS

43       --device=devname
44              Sets the device  name  to  store  in  the  codepage  file.  This
45              defaults to "EGA"; if you are generating a codepage file for the
46              IBM Convertible, it should be set to "LCD".
47
48       --comment=comment
49              Sets a comment which will be added to the end of the  CPI  file,
50              such as a copyright message.
51
52       --drfont
53              Outputs in the compressed format used by DRDOS.
54
55       --nt   Outputs in the FONT.NT format used by Windows NT.
56

SEE ALSO

58       cpi2psf(1), cpicomp(1), cpidcomp(1)
59

AUTHOR

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