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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
|
.\" -*-nroff-*-
.ds V 2.78
.de M
.BR "\\$1" "(\\$2)\\$3"
..
.ds E " \-\-
.if t .ds E \(em
.de Op
.BR "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6"
..
.de Oy
.BI "\\$1\fR=" "\\$2\fR, " "\\$3\& " "\\$4" "\\$5" "\\$6"
..
.de Ol
.BI "\\$1\fR=" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6"
..
.de Sp
.if n .sp
.if t .sp 0.4
..
.TH MMPFB 1 "LCDF Typetools" "Version \*V"
.SH NAME
mmpfb \- creates single-master fonts from multiple master fonts
'
.SH SYNOPSIS
.B mmpfb
\%[OPTIONS...]
.I font
'
.SH DESCRIPTION
.B Mmpfb
creates a normal, single-master PostScript font from a multiple master font
by interpolation. You pass it a PFB or PFA font and options specifying the
design point you want; it writes the resulting PFB or PFA font to the
standard output.
.PP
The fonts
.B mmpfb
creates are interpolated at a low level to remove multiple master
instructions from individual characters. Therefore, they can be used by
programs that don't normally understand multiple master fonts, like
.BR ps2pk (1).
.PP
.B Mmpfb
supports fonts with intermediate masters, like Adobe Jenson and Kepler. It
can also create AMCP (Adobe Multiple Master Conversion Program) files for
use by
.M mmafm 1 ;
see
.B \-\-amcp\-info
below.
.PP
The
.I font
argument is either the name of a PFA or PFB font file, or a PostScript font
name. If you give a font name,
.B mmpfb
will find the actual outline file using the PSRESOURCEPATH environment
variable. This colon-separated path is searched for `PSres.upr' files, an
Adobe method for indexing PostScript resources.
.PP
You can also give the name of a multiple
master font instance, like `MinionMM_367_400_12_'.
.B Mmpfb
will parse the font name and create that instance for you. `PSres.upr'
files must be set up for this to work.
'
'
.SH EXAMPLE
'
.nf
% mmpfb \-\-weight=400 \-\-width=600 MyriadMM.pfb > MyriadMM_400_600_.pfb
.fi
'
.SH OPTIONS
Long options may be abbreviated to their unique prefixes.
'
.TP 5
.Oy \-\-output file \-o file
'
Send output to
.I file
instead of standard output.
'
.TP
.BR \-\-pfb ", " \-b
'
Output a PFB font. This is the default.
'
.TP
.BR \-\-pfa ", " \-a
'
Output a PFA font.
'
.TP
.Op \-\-amcp\-info
'
Do not create a font; instead, output an AMCP file for use by
.M mmafm 1 .
A message is printed if the font doesn't have intermediate masters, in
which case no AMCP file is necessary.
'
.TP
.Oy \-\-weight N \-w N
'
Set the weight axis to
.IR N .
'
.TP
.Oy \-\-width N \-W N
'
Set the width axis to
.IR N .
'
.TP
.Oy \-\-optical\-size N \-O N
'
Set the optical size axis to
.IR N .
'
.TP
.Ol \-\-style N
'
Set the style axis to
.IR N .
.TP
\fB\-\-1\fR=\fIN\fR (\fB\-\-2\fR=\fIN\fR, \fB\-\-3\fR=\fIN\fR, \fB\-\-4\fR=\fIN\fR)
'
Set the first (second, third, fourth) axis to
.IR N .
'
.TP
.Oy \-\-precision N \-p N
'
Set the output precision to
.IR N .
Higher values mean the control points in the output font will be more
exactly aligned; lower values (1 or 2) create smaller output font
files, and are close enough for most purposes. A precision of
.IR N
means that each point will be within
.RI 1/ N
font units of the exact interpolated value. (A font unit is generally
1/7200 inch for a 10-point font.) The default is 5.
'
.TP
.Ol \-\-subrs N
'
Limit the output font to at most
.IR N
subroutines. 256 is a good value for
.IR N .
'
.TP
.BR \-\-no\-minimize
'
Do not minimize the output font definition. By default,
.B mmpfb
removes extra PostScript code and dictionary definitions from the font.
Supply the
.B \-\-no\-minimize
option to avoid this behavior.
'
.SH TROUBLESHOOTING
.LP
The "IBM" Type 1 font interpreter shipped as part of the X font server and
.B ps2pk
(among others) is inappropriately strict about PostScript code embedded in
a font. The
.B \-\-minimize
option (now the default) fixes this problem.
.LP
Some versions of Adobe Acrobat Distiller may report "Warning: unable to
embed font X. Invalid character outline data" when distilling an instance
generated by
.BR mmpfb .
This is due to a limitation in the number of font subroutines Distiller can
accept. (Multiple master fonts, and the single-master fonts generated by
.BR mmpfb ,
tend to have a lot of subroutines.) Try limiting the number of subroutines
in the generated font with the
.Op \-\-subrs
option.
'
.SH SEE ALSO
.M mmafm 1
'
.SH DIAGNOSTICS
.TP 5
reducing \fIfont\fR to minimum number of subroutines (\fIN\fR)
You tried to reduce the number of subroutines to less than \fIN\fR using
the
.Op \-\-subrs
option, but the font needs at least \fIN\fR to function. The output font
will have \fIN\fR subroutines.
'
.SH AUTHOR
.na
Eddie Kohler, ekohler@gmail.com
.PP
The latest version is available from:
.br
http://www.lcdf.org/type/
.PP
Thanks to Melissa O'Neill for suggestions and patient
debugging.
|