1. Technology
Send to a Friend via Email
Linux / Unix Command: pktopbm
Command Library

NAME

pktopbm - convert packed (PK) format font into portable bitmap(s)  

SYNOPSIS

pktopbm pkfile[.pk] [ -x width ] [ -y height ] [-c num] pbmfile ...  

DESCRIPTION

Reads a packed (PK) font file as input, and produces portable bitmaps as output. If the filename "-" is used for any of the filenames, the standard input stream (or standard output where appropriate) will be used. If either the width or height is specified, this value will be used for all bitmaps produced. Also if one or both values are specified, the bitmap will be relocated with the hoffset and voffset given in the pkfile. The basepoint will be placed in the lower left corner of the bitmap if the bitmap is bigger than the specified size it will be truncated at the top or right.  

OPTIONS

-c num
Sets the character number of the next bitmap written to num.
-x width
Sets the width of the bitmap.
-y width
Sets the height of the bitmap.
 

SEE ALSO

pbmtopk(1), pbm(5)  

Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

You can opt-out at any time. Please refer to our privacy policy for contact information.

Discuss in my forum

©2014 About.com. All rights reserved.