diff --git a/src/kaboom.ts b/src/kaboom.ts index 894e22686..639cac18e 100644 --- a/src/kaboom.ts +++ b/src/kaboom.ts @@ -2219,6 +2219,7 @@ export default (gopt: KaboomOpt = {}): KaboomCtx => { c2d.fillStyle = "#ffffff" const m = c2d.measureText(ch) let w = Math.ceil(m.width) + if (!w) continue let h = font.size if (atlas.outline) { c2d.lineJoin = "round"