getFontAsciiWidth method

int getFontAsciiWidth(
  1. PrinterTextStyle style
)

获取字体宽度 Ascii

style 文字样式

Implementation

int getFontAsciiWidth(PrinterTextStyle style) {
  return this.getFontWidth(style) ~/ 2;
}