getFontHeight method
获取字体高度
fontType
字体类型
fontSize
字体大小
Implementation
int getFontHeight(PrinterTextStyle style) {
return style.fontSize! * _fontMap[style.fontType!]!.fontBaseHeight;
}
获取字体高度
fontType
字体类型
fontSize
字体大小
int getFontHeight(PrinterTextStyle style) {
return style.fontSize! * _fontMap[style.fontType!]!.fontBaseHeight;
}