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

NAME

6       psf2fnt - Convert a PC Screen Font file to a Windows font-resource file
7

SYNOPSIS

9       psf2fnt  [--ascent=ASC]  [--bold]  [--brkchar=CHAR]  [--copy=COPYRIGHT]
10       [--codepage=CODEPAGE]      [--charset=CHARSET]      [--defchar=DEFAULT]
11       [--firstchar=FIRST]    [--fontname=NAME]   [--horzres=DPI]   [--italic]
12       [--lastchar=CHAR] [--pointsize=SIZE] [--version=FORMAT] [--vertres=DPI]
13       [INPUTFILE [OUTPUTFILE]]

DESCRIPTION

15       psf2fnt  saves  some  or  all  characters from a .PSF font as a Windows
16       font-resource file, as used by  the  Windows  SDK  tool  FONTEDIT.  The
17       resulting  file  can  then  be  processed with fnts2fon(1) to create an
18       installable font.
19

OPTIONS

21       --ascent
22              Sets the distance from the baseline to the top of the character.
23              This defaults to the height of the font, minus 1.
24
25       --bold Marks the resulting font as bold.
26
27       --brkchar=nnn
28              Sets  the  index  of  the  character  used to print word breaks.
29              Defaults to 32 (space).
30
31       --charset=charset
32              Sets the character set of the resulting font. This can be one of
33              the words ANSI, OEM or SYMBOL; or a numeric value.
34
35       --codepage=x
36              Extracts only the characters in the given codepage (requires the
37              source PSF file to have a Unicode directory). Any characters  in
38              the  codepage  not  present  in  the source font are replaced by
39              blanks. The codepage can be specified by  number  or  name;  see
40              psfpages(1) for a list of acceptable codepage names.
41
42       --copy=string
43              Sets  the copyright string in the resulting font. Note that spa‐
44              ces will have to be escaped to hide them from the shell.
45
46       --defchar=nnn
47              Sets the index of the character  used  to  display  out-of-range
48              characters.  Defaults to 46 (full stop).
49
50       --first=n
51              Extracts characters starting at the specified character.
52
53       --fontname=name
54              Sets the name of the output font.
55
56       --horzres=nnn
57              Sets  the  horizontal resolution of the font in DPI. Defaults to
58              48.
59
60       --italic
61              Marks the font as italic.
62
63       --last=n
64              Extracts characters up to and including the specified character.
65
66       --pointsize=n
67              Sets the font point size. This defaults to the  font  height  in
68              pixels.
69
70       --version=n
71              Sets  the  file  format  version. This can be 1, 2 or 3. Version
72              1.0.8uld only be used if you are creating  a  font  for  Windows
73              1.0.  Version  1.0.8uld  be used if the font is less than 64k in
74              size; otherwise, use Version 3.
75
76       If a codepage and a range of characters are both specified,  the  range
77       is applied to the subset of characters extracted by the codepage.
78

SEE ALSO

80       fnt2psf(1), psfpages(1)
81

AUTHOR

83       John Elliott <jce@seasip.demon.co.uk>.
84
85Version 1.0.8                    21 June, 2008                      psf2fnt(1)
Impressum