DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

bdftosnf(X)


bdftosnf -- BDF to SNF font compiler for X11

Syntax

bdftosnf [-i] [-l] [-L] [-m] [-M] [-p#] [-t] [-u#] [-w] [-W] [-obdf file]

Description

bdftosnf reads a Bitmap Distribution Format (BDF) font from the specified file (or from standard input if no file is specified) and writes an X11 Server Natural Format (SNF) font to standard output.


NOTE: bdftosnf has been replaced by bdftopcf(X) in the X11R5 release; SNF files are only used for backwards compatibility.

Options


-i
inhibits the normal computation of ink metrics. When a font has glyph images which do not fill the bitmap image (that is, the ``on'' pixels do not 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 behavior.

-l
sets the font bit order to least significant bit first. The leftmost bit on the screen will be in the lowest valued bit in each unit.

-L
sets the font byte order to least significant byte first. All multi-byte data in the file (metrics, bitmaps, and so forth) will be written least significant byte first.

-m
sets the font bit order to most significant bit first. Bits for each glyph will be placed in this order; that is, the leftmost bit on the screen will be in the highest valued bit in each unit.

-M
sets the font byte order to most significant byte first. All multi-byte data in the file (metrics, bitmaps, and so forth) will be written most significant byte first.

-p#
sets the font glyph padding. Each glyph in the font will have each scanline padded in to a multiple of # bytes, where # is 1, 2, 4 or 8.

-t
converts fonts into ``terminal'' fonts when 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.

-u#
sets the font scanline unit. When the font bit order is different from the font byte order, the scanline unit # describes what unit of data (in bytes) are to be swapped; the unit # can be 1, 2 or 4 bytes.

-w
prints warnings if the character bitmaps have bits set to one outside of their defined widths.

-W
prints warnings for characters with an encoding of -1; the default ignores such characters.

-obdf file
specifies the BDF font filename that should be compiled to a PCF font. If a filename is not specified, standard input is read.

See also

bdftopcf(X), showfont(X), showsnf(X), snftobdf(X), X(X),
Bitmap Distribution Format 2.1
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003