const useSDFGlyphData: (
layout: Rectangle,
font: number[],
spans: Tuples<3>,
glyphs: Tuples<4>,
breaks: Uint32Array,
height: FontMetrics,
align: Alignment,
size?: number,
wrap?: number,
snap?: boolean,
) => {
id: number,
indices: Uint32Array,
layouts: Float32Array,
rectangles: Float32Array,
uvs: Float32Array,
sdf: [number, number, number, number],
}
packages / workbench / src / text / providers / sdf-font-provider.ts