2d.text.measure.fontBoundingBox
Testing fontBoundingBox for OffscreenCanvas