| 1 |
\ |
| 2 |
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source. |
| 3 |
.\" Do not hand-hack it! If you have bug fixes or improvements, please find |
| 4 |
.\" the corresponding HTML page on the Netpbm website, generate a patch |
| 5 |
.\" against that, and send it to the Netpbm maintainer. |
| 6 |
.TH "Pamtompfont User Manual" 1 "18 May 2008" "netpbm documentation" |
| 7 |
|
| 8 |
.SH NAME |
| 9 |
pamtompfont - Convert Netpbm image to Mplayer bitmap font file |
| 10 |
|
| 11 |
.UN synopsis |
| 12 |
.SH SYNOPSIS |
| 13 |
\fBpamtompfont\fP |
| 14 |
[\fInetpbmfile\fP] |
| 15 |
.PP |
| 16 |
All options can be abbreviated to their shortest unique prefix. |
| 17 |
You may use two hyphens instead of one. You may separate an option |
| 18 |
name and its value with white space instead of an equals sign. |
| 19 |
|
| 20 |
.UN description |
| 21 |
.SH DESCRIPTION |
| 22 |
.PP |
| 23 |
This program is part of |
| 24 |
.BR "Netpbm" (1)\c |
| 25 |
\&. |
| 26 |
.PP |
| 27 |
\fBpamtompfont\fP reads a Netpbm image (PNM or PAM) and converts it |
| 28 |
to an Mplayer bitmap font raster file. |
| 29 |
.PP |
| 30 |
This is the original font format used by Mplayer (for subtitles, |
| 31 |
on-screen messages, etc.), before it had the ability to use Freetype |
| 32 |
to access standard fonts. |
| 33 |
.PP |
| 34 |
The format was apparently an image format before Mplayer adopted it |
| 35 |
for fonts, but I have no idea where it came from or where else it might |
| 36 |
be used. |
| 37 |
.PP |
| 38 |
An Mplayer bitmap font consists of a font descriptor file and |
| 39 |
raster files. The font descriptor file identifies the raster files by |
| 40 |
file name. A raster file contains a single rectangular raster image |
| 41 |
which contains an arrangement of a bunch of glyphs. Each glyph is a |
| 42 |
rectangular image and the font descriptor indicates where in the image |
| 43 |
the glyph for each codepoint is. Every glyph in the font has the same |
| 44 |
height, so the font descriptor just indicates the file position in the |
| 45 |
raster file of the to left corner of the glyph, and the width of the |
| 46 |
glyph in pixels. |
| 47 |
|
| 48 |
|
| 49 |
.UN options |
| 50 |
.SH OPTIONS |
| 51 |
.PP |
| 52 |
There are no command line options defined specifically |
| 53 |
for \fBpamtompfont\fP, but it recognizes the options common to all |
| 54 |
programs based on libnetpbm (See |
| 55 |
.UR index.html#commonoptions |
| 56 |
Common Options |
| 57 |
.UE |
| 58 |
\&.) |
| 59 |
|
| 60 |
.UN seealso |
| 61 |
.SH SEE ALSO |
| 62 |
.BR "pam" (1)\c |
| 63 |
\& |
| 64 |
|
| 65 |
.UN history |
| 66 |
.SH HISTORY |
| 67 |
.PP |
| 68 |
\fBpamtompfont\fP was added to Netpbm in Release 10.43 (June 2008). |
| 69 |
.SH DOCUMENT SOURCE |
| 70 |
This manual page was generated by the Netpbm tool 'makeman' from HTML |
| 71 |
source. The master documentation is at |
| 72 |
.IP |
| 73 |
.B http://netpbm.sourceforge.net/doc/pamtompfont.html |
| 74 |
.PP |