const emitGlyphSpans: (
context: SDFFontContextProps,
layout: Rectangle,
currentIndex: number,
font: number[],
spans: Tuples<3>,
glyphs: Tuples<4>,
breaks: Uint32Array,
start: number,
end: number,
size: number,
gap: number,
lead: number,
snap: boolean,
emit: (
l1: number,
t1: number,
r1: number,
b1: number,
l2: number,
t2: number,
r2: number,
b2: number,
i: number,
) => void,
) => void
packages / workbench / src / text / providers / sdf-font-provider.ts