HaruDoc::getFont()
HaruDoc::getFont - GetHaruFontinstance
Syntax
object HaruDoc::getFont (string $fontname, string $encoding)Arguments
- fontname - The name of the font. See Builtin Fontsfor the list of builtin fonts. You can also use the name of a font loaded via HaruDoc::loadTTF, HaruDoc::loadTTC and HaruDoc::loadType1.
- encoding - The encoding to use. See Builtin Encodingsfor the list of supported encodings.
