method EposText.prototype.setFont EposText.prototype.setFont(font: EposFont | undefined): this Sets the font of this text. Parameters font: EposFont | undefined Return Type this