summary refs log tree commit diff
path: root/pamtompfont.html
blob: aab69cd199e329120349999948289f61b289dd69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN">
<html><head><title>Pamtompfont User Manual</title></head>
<body>
<h1>pamtompfont</h1>
Updated: 18 May 2008
<br>
<a href="#index">Table Of Contents</a>

<h2>NAME</h2>
pamtompfont - Convert Netpbm image to Mplayer bitmap font file

<h2 id="synopsis">SYNOPSIS</h2>
<b>pamtompfont</b>
[<i>netpbmfile</i>]

<p>All options can be abbreviated to their shortest unique prefix.
You may use two hyphens instead of one.  You may separate an option
name and its value with white space instead of an equals sign.

<h2 id="description">DESCRIPTION</h2>

<p>This program is part of <a href="index.html">Netpbm</a>.

<p><b>pamtompfont</b> reads a Netpbm image (PNM or PAM) and converts it
to an Mplayer bitmap font raster file.

<p>This is the original font format used by Mplayer (for subtitles,
on-screen messages, etc.), before it had the ability to use Freetype
to access standard fonts.

<p>The format was apparently an image format before Mplayer adopted it
for fonts, but I have no idea where it came from or where else it might
be used.

<p>An Mplayer bitmap font consists of a font descriptor file and
raster files.  The font descriptor file identifies the raster files by
file name.  A raster file contains a single rectangular raster image
which contains an arrangement of a bunch of glyphs.  Each glyph is a
rectangular image and the font descriptor indicates where in the image
the glyph for each codepoint is.  Every glyph in the font has the same
height, so the font descriptor just indicates the file position in the
raster file of the to left corner of the glyph, and the width of the
glyph in pixels.


<h2 id="options">OPTIONS</h2>

<p>There are no command line options defined specifically
for <b>pamtompfont</b>, but it recognizes the options common to all
programs based on libnetpbm (See <a href="index.html#commonoptions">
Common Options</a>.)

<h2 id="seealso">SEE ALSO</h2>

<b><a href="pam.html">pam</a></b>

<h2 id="history">HISTORY</h2>

<p><b>pamtompfont</b> was added to Netpbm in Release 10.43 (June 2008).


<hr>
<h2 id="index">Table Of Contents</h2>
<ul>
<li><a href="#synopsis">SYNOPSIS</a>
<li><a href="#description">DESCRIPTION</a>
<li><a href="#options">OPTIONS</a>
<li><a href="#seealso">SEE ALSO</a>
<li><a href="#history">HISTORY</a>
</ul>
</body>
</html>