Appearance
API > @blocksuite/blocks > getLineWidth
getLineWidth(text, font): number
text
font
number
string
packages/blocks/src/surface-block/elements/text/utils.ts:70