-->

Previous | Table of Contents | Next

Page 356

If the fontfile is a PBM file, it is created in a very specific way. In your window system of choice, display the following text in the desired (fixed-width) font:


M ",/^ [`jpqy| M

/ !"#$%&'()*+ /

< ,-./01234567 <

> 89:;<=>?@ABC >

@ DEFGHIJKLMNO @

PQRSTUVWXYZ[

{ \]^ `abcdefg {

} hijklmnopqrs }

~ tuvwxyz{|}~~

M ",/^ [`jpqy| M

Do a screen grab or window dump of that text, using for instance xwd, xgrabsc, or screen-dump. Convert the result into a PBM file. If necessary, use pnmcut to remove everything except the text. Finally, run it through pnmcrop to make sure the edges are right up against the text. pbmtext can figure out the sizes and spacings from that.

SEE ALSO

pbm(5), pnmcut(1), pnmcrop(1)

AUTHOR

Copyright" 1993 by Jef Poskanzer and George Phillips

26 October 1993

pbmto10x

pbmto10x—Convert a portable bitmap into Gemini 10X printer graphics

SYNOPSIS


pbmto10x [-h][pbmfile]

DESCRIPTION

pbmto10x reads a portable bitmap as input and produces a file of Gemini 10X printer graphics as output. The 10X's printer codes are alleged to be similar to the Epson codes.

Note that there is no 10xtopbm tool; this transformation is one-way.

OPTIONS

The resolution is normally 60H by 72V. If the -h flag is specified, resolution is 120H by 144V. You may find it useful to rotate landscape images before printing.

SEE ALSO

pbm(5)

AUTHOR

Copyright " 1990 by Ken Yap1

January 1990

Page 357

pbmto4425

pbmto4425—Display PBM images on an AT&T 4425 terminal

SYNOPSIS


pbmto4425 [pbmfile]

DESCRIPTION

Pbmto4425 displays PBM format images on an AT&T 4425 ASCII terminal using that terminal's mosaic graphics character set. The program should also work with other VT100-like terminals with mosaic graphics character sets such as the C. Itoh CIT-101, but it has not yet been tested on terminals other than the 4425.

Pbmto4425 puts the terminal into 132-column mode to achieve the maximum resolution of the terminal. In this mode the terminal has a resolution of 264 columns by 69 rows. The pixels have an aspect ratio of 1:2.6; therefore, an image should be processed before being displayed in a manner such as this:


% pnmscale _xscale 2.6 pnmfile \

| pnmscale _xysize 264 69 \

| ppmtopgm \

| pgmtopbm \

| pbmto4425

AUTHOR

Copyright " 1993 by Robert Perlberg

pbmtoascii

pbmtoascii—Convert a portable bitmap into ASCII graphics

SYNOPSIS


pbmtoascii [-1x2|-2x4][pbmfile]

DESCRIPTION

pbmtoascii reads a portable bitmap as input and produces a somewhat crude ASCII graphic as output.

Note that there is no asciitopbm tool; this transformation is one-way.

OPTIONS

The -1x2 and -2x4 flags provide two alternate ways for the bits to get mapped to characters. With 1x2, the default, each character represents a group of 1 bit across by 2 bits down. With -2x4, each character represents 2 bits across by 4 bits down. With the 1x2 mode you can see the individual bits, so it's useful for previewing small bitmaps on a nongraphics terminal. The 2x4 mode lets you display larger bitmaps on a standard 80-column display, but it obscures bit-level details. 2x4 mode is also good for displaying graymaps. pnmscale -width 158 | pgmnorm | pgmtopbm -thresh should give good results.

SEE ALSO

pbm(5)

AUTHOR

Copyright " 1988, 1992 by Jef Poskanzer

20 March 1992

Page 358

pbmtoatk

pbmtoatk—Convert portable bitmap to Andrew Toolkit raster object

SYNOPSIS


pbmtoatk [pbmfile]

DESCRIPTION

pbmtoatk reads a portable bitmap as input and produces an Andrew Toolkit raster object as output.

SEE ALSO

atktopbm(1), pbm(5)

AUTHOR

Copyright " 1991 by Bill Janssen

26 September 1991

pbmtobg

pbmtobg—Convert a portable bitmap into BitGraph graphics

SYNOPSIS


pbmtobg [rasterop][x y]< pbmfile

DESCRIPTION

pbmtobg reads a portable bitmap as input and produces BBN BitGraph terminal display pixel data (DPD) sequence as output.

The rasterop can be specified on the command line. If this is omitted, 3 (replace) will be used. A position in (x,y) coordinates can also be specified. If both are given, the rasterop comes first. The portable bitmap is always taken from the standard input.

Note that there is no bgtopbm tool.

SEE ALSO

pbm(5)

AUTHOR

Copyright " 1989 by Mike Parker

16 May 1989

pbmtocmuwm

pbmtocmuwm—Convert a portable bitmap into a CMU window manager bitmap

SYNOPSIS


pbmtocmuwm [pbmfile]

DESCRIPTION

pbmtocmuwm reads a portable bitmap as input and produces a CMU window manager bitmap as output.

Previous | Table of Contents | Next