1Pamtompfont User Manual(0) Pamtompfont User Manual(0)
2
3
4
6 pamtompfont - Convert Netpbm image to Mplayer bitmap font file
7
8
10 pamtompfont [imagefile]
11
12 All options can be abbreviated to their shortest unique prefix. You
13 may use two hyphens instead of one. You may separate an option name
14 and its value with white space instead of an equals sign.
15
16
18 This program is part of Netpbm(1).
19
20 pamtompfont reads a Netpbm image (PNM or PAM) and converts it to an
21 Mplayer bitmap font raster file.
22
23 This is the original font format used by Mplayer (for subtitles, on-
24 screen messages, etc.), before it had the ability to use Freetype to
25 access standard fonts.
26
27 The format was apparently an image format before Mplayer adopted it for
28 fonts, but I have no idea where it came from or where else it might be
29 used.
30
31 An Mplayer bitmap font consists of a font descriptor file and raster
32 files. The font descriptor file identifies the raster files by file
33 name. A raster file contains a single rectangular raster image which
34 contains an arrangement of a bunch of glyphs. Each glyph is a rectanâ
35 gular image and the font descriptor indicates where in the image the
36 glyph for each codepoint is. Every glyph in the font has the same
37 height, so the font descriptor just indicates the file position in the
38 raster file of the to left corner of the glyph, and the width of the
39 glyph in pixels.
40
41
42
44 None.
45
46
48 pam(1)
49
50
52 pamtompfont was added to Netpbm in Release 10.43 (June 2008).
53
55 This manual page was generated by the Netpbm tool 'makeman' from HTML
56 source. The master documentation is at
57
58 http://netpbm.sourceforge.net/doc/pamtompfont.html
59
60netpbm documentation 18 May 2008 Pamtompfont User Manual(0)