Creates a new instance of a multiple master font based on detailed metric
information. In case of an error,
null
is returned.
Returns:
a
Font
object that is an instance of
MultipleMaster
and is based on the specified metric
information.
Parameters:
-
glyphWidths - an array of floats representing the desired width
of each glyph in font space
-
avgStemWidth - the average stem width for the overall font in
font space
-
typicalCapHeight - the height of a typical upper case char
-
typicalXHeight - the height of a typical lower case char
-
italicAngle - the angle at which the italics lean, in degrees
counterclockwise from vertical