1BDFTOPCF(1) General Commands Manual BDFTOPCF(1)
2
3
4
6 bdftopcf - convert X font from Bitmap Distribution Format to Portable
7 Compiled Format
8
10 bdftopcf [ -pn ] [ -un ] [ -m ] [ -l ] [ -M ] [ -L ] [ -t ] [ -i ] [ -o
11 outputfile ] fontfile.bdf
12
14 Bdftopcf is a font compiler for the X server and font server. Fonts in
15 Portable Compiled Format can be read by any architecture, although the
16 file is structured to allow one particular architecture to read them
17 directly without reformatting. This allows fast reading on the appro‐
18 priate machine, but the files are still portable (but read more slowly)
19 on other machines.
20
22 -pn Sets the font glyph padding. Each glyph in the font will have
23 each scanline padded in to a multiple of n bytes, where n is 1,
24 2, 4 or 8.
25
26 -un Sets the font scanline unit. When the font bit order is dif‐
27 ferent from the font byte order, the scanline unit n describes
28 what unit of data (in bytes) are to be swapped; the unit i can
29 be 1, 2 or 4 bytes.
30
31 -m Sets the font bit order to MSB (most significant bit) first.
32 Bits for each glyph will be placed in this order; i.e., the
33 left most bit on the screen will be in the highest valued bit
34 in each unit.
35
36 -l Sets the font bit order to LSB (least significant bit) first.
37 The left most bit on the screen will be in the lowest valued
38 bit in each unit.
39
40 -M Sets the font byte order to MSB first. All multi-byte data in
41 the file (metrics, bitmaps and everything else) will be written
42 most significant byte first.
43
44 -L Sets the font byte order to LSB first. All multi-byte data in
45 the file (metrics, bitmaps and everything else) will be written
46 least significant byte first.
47
48 -t When this option is specified, bdftopcf will convert fonts into
49 "terminal" fonts when possible. A terminal font has each glyph
50 image padded to the same size; the X server can usually render
51 these types of fonts more quickly.
52
53 -i This option inhibits the normal computation of ink metrics.
54 When a font has glyph images which do not fill the bitmap image
55 (i.e., the "on" pixels don't extend to the edges of the met‐
56 rics) bdftopcf computes the actual ink metrics and places them
57 in the .pcf file; the -t option inhibits this behaviour.
58
59 -o output-file-name
60 By default bdftopcf writes the pcf file to standard output;
61 this option gives the name of a file to be used instead.
62
64 X(7)
65
67 Keith Packard, MIT X Consortium
68
69
70
71X Version 11 bdftopcf 1.0.1 BDFTOPCF(1)