diff --git a/packages/display/src/displays/webgl/GlyphManager.ts b/packages/display/src/displays/webgl/GlyphManager.ts index e40390d3b..c6734985d 100644 --- a/packages/display/src/displays/webgl/GlyphManager.ts +++ b/packages/display/src/displays/webgl/GlyphManager.ts @@ -67,7 +67,7 @@ class GlyphManager { if (!fonts[styleId]) { const size = 96 * scale; const canvas = createCanvas(size, size); - const ctx = canvas.getContext('2d'); + const ctx = canvas.getContext('2d', {willReadFrequently: true}); ctx.textBaseline = 'bottom'; const letterHeightBottom = determineFontHeight(ctx, style, 'gM').height;