{
const grid = Grid({divisions: 3, aspect: {tall: 2, wide: 16}, opacity: .2}).sketch();
const {pad, plot, M} = grid;
const area = pad
.append("g")
.style("font", font.short)
;
const textBox = area
.append("g")
.attr("transform", `translate(${M(3)}, ${M(1)})`)
;
textBox
.append("text")
.text(text)
;
WebFont.load({
google: {families: [`${font.fontFamily}:wght@100..1000&swap`]},
loading: set(viewof status, `loading ${font.fontFamily}…`),
active: () => {
set(viewof bb, box(grid, area, textBox, bbox(font, text)));
set(viewof status, `${font.fontFamily} loaded.`)
},
});
return plot();
}