1psf2bdf(1) PSF Tools psf2bdf(1)
2
3
4
6 psf2bdf - convert part or all of a PSF Font file to an X11 BDF.
7
9 psf2bdf [--first=FIRST] [--last=LAST] [--256] [--fontname=NAME]
10 [--defchar=INDEX] [--descent=VALUE] [--codepage=CODEPAGE] [--iso10646]
11 [INPUTFILE [OUTPUTFILE]]
13 psf2bdf saves some or all characters from a .PSF font to an X11-format
14 BDF font file. The resulting file should then be tidied up in an editor
15 such as xmbdfed(1) before being installed.
16
18 --codepage=x
19 Extracts only the characters in the given codepage (requires the
20 source PSF file to have a Unicode directory). Any characters in
21 the codepage not present in the source font are replaced by
22 blanks. The codepage can be specified by number or name; see
23 psfpages(1) for a list of acceptable codepage names.
24
25 --first=n
26 Extracts characters starting at the specified character.
27
28 --last=n
29 Extracts characters up to and including the specified character.
30
31 --256 Equivalent to --first=0 --last=255.
32
33 --fontname=name
34 Sets the XLFD name of the font being output.
35
36 --descent=n
37 Sets the descent (pixels between the character baseline and the
38 bottom of the character cell). If this is not entered it is
39 assumed to be 1/4 of the character height.
40
41 --defchar=n
42 Sets the number of the default character to use.
43
44 --iso10646
45 If this option is present and the source file has a Unicode
46 directory, the font will encode the ID of each character as its
47 Unicode position. Otherwise the character's ID is equal to its
48 position in the file.
49
50 If a codepage and a range of characters are both specified, the range
51 is applied to the subset of characters extracted by the codepage.
52
54 The BDF needs tidying up after generation, as mentioned above.
55
57 xmbdfed(1),psfpages(1)
58
60 John Elliott <jce@seasip.demon.co.uk>.
61
62Version 1.0.8 21 June, 2008 psf2bdf(1)