# BDFTOPCF - convert X font from Bitmap Distribution Format to Port... - man - [phpMan]

[_BDFTOPCF_(1)](https://www.chedong.com/phpMan.php/man/BDFTOPCF/1/markdown)                            General Commands Manual                           [_BDFTOPCF_(1)](https://www.chedong.com/phpMan.php/man/BDFTOPCF/1/markdown)

## NAME
       bdftopcf - convert X font from Bitmap Distribution Format to Portable Compiled Format

## SYNOPSIS
       **bdftopcf  **[  **-p_**n_  ] [ **-u_**n_ ] [ **-m **] [ **-l **] [ **-M **] [ **-L **] [ **-t **] [ **-i **] [ **-o _**outputfile_ ] font‐
       file.bdf

## DESCRIPTION
       _Bdftopcf_ is a font compiler for the X server and font server.   Fonts  in  Portable  Compiled
       Format can be read by any architecture, although the file is structured to allow one particu‐
       lar architecture to read them directly without reformatting.  This allows fast reading on the
       appropriate  machine,  but  the  files are still portable (but read more slowly) on other ma‐
       chines.

## OPTIONS
### -p_
               in to a multiple of _n_ bytes, where _n_ is 1, 2, 4 or 8.

### -u_
               order,  the scanline unit _n_ describes what unit of data (in bytes) are to be swapped;
               the unit _i_ can be 1, 2 or 4 bytes.

### -m      
               will  be  placed  in this order; i.e., the left most bit on the screen will be in the
               highest valued bit in each unit.

### -l      
               the screen will be in the lowest valued bit in each unit.

### -M      
               bitmaps and everything else) will be written most significant byte first.

### -L      
               bitmaps and everything else) will be written least significant byte first.

### -t      
               possible.  A terminal font has each glyph image padded to the same size; the X server
               can usually render these types of fonts more quickly.

### -i      
               images which do not fill the bitmap image (i.e., the "on" pixels don't extend to  the
               edges of the metrics) _bdftopcf_ computes the actual ink metrics and places them in the
               .pcf file; the -t option inhibits this behaviour.

### -o _
               By  default  _bdftopcf_  writes  the pcf file to standard output; this option gives the
               name of a file to be used instead.

### -v      

## SEE ALSO
       [X(7)](https://www.chedong.com/phpMan.php/man/X/7/markdown)

## AUTHOR
       Keith Packard, MIT X Consortium

X Version 11                                bdftopcf 1.1                                 [_BDFTOPCF_(1)](https://www.chedong.com/phpMan.php/man/BDFTOPCF/1/markdown)
