MakeFont(string fontfile, string afmfile [, string enc [, array patch [, string type]]])
fontfile
Path to the .ttf or .pfb file.
afmfile
Path to the .afm file.
enc
Name of the encoding to use. Default value: cp1252
.
patch
Optional modification of the encoding. Empty by default.
type
Type of the font (TrueType
or Type1
). Default value: TrueType
.
type
parameter.