From 382cea66ccd75658ecfe8923e53b35a56b672c47 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Mon, 17 Sep 2018 17:21:26 +0000 Subject: [PATCH] start a little smaller --- commands/image-edit/gru-plan.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/image-edit/gru-plan.js b/commands/image-edit/gru-plan.js index 15e407ed..32d4350e 100644 --- a/commands/image-edit/gru-plan.js +++ b/commands/image-edit/gru-plan.js @@ -56,9 +56,9 @@ module.exports = class GruPlanCommand extends Command { ctx.textBaseline = 'top'; let i = 0; for (const [x, y] of coord) { - ctx.font = '40px Noto'; + ctx.font = '35px Noto'; const step = steps[i]; - let fontSize = 40; + let fontSize = 35; while (ctx.measureText(step).width > 1100) { fontSize -= 1; ctx.font = `${fontSize}px Noto`;