Documentation / @finchart/core / index / createCanvasTextMeasurer
Variable: createCanvasTextMeasurer
constcreateCanvasTextMeasurer:TextMeasurerFactory
Defined in: packages/core/src/render/text-measurer.ts:31
The default implementation. Measures with the very context the renderer replays onto — if measuring and drawing used different engines, the axis width and the glyphs would drift apart and clip the label. Any wiring that swaps the renderer for a different surface is responsible for swapping the measurer along with it.