From a387df2aea8fe070de772f961bec42dde44e97da Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Fri, 8 Feb 2019 16:52:04 +0000 Subject: [PATCH] Somebody once told me the font was macaroni --- commands/image-edit/meme-gen.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/image-edit/meme-gen.js b/commands/image-edit/meme-gen.js index 98faaefa..26b8b33a 100644 --- a/commands/image-edit/meme-gen.js +++ b/commands/image-edit/meme-gen.js @@ -57,7 +57,7 @@ module.exports = class MemeGenCommand extends Command { for (let i = 0; i < topLines.length; i++) { const textHeight = (i * fontSize) + (i * 10); ctx.strokeStyle = 'black'; - ctx.lineWidth = 8; + ctx.lineWidth = 5; ctx.strokeText(topLines[i], base.width / 2, textHeight); ctx.fillStyle = 'white'; ctx.fillText(topLines[i], base.width / 2, textHeight); @@ -68,7 +68,7 @@ module.exports = class MemeGenCommand extends Command { for (let i = 0; i < bottomLines.length; i++) { const textHeight = initial + (i * fontSize) + (i * 10); ctx.strokeStyle = 'black'; - ctx.lineWidth = 8; + ctx.lineWidth = 5; ctx.strokeText(bottomLines[i], base.width / 2, textHeight); ctx.fillStyle = 'white'; ctx.fillText(bottomLines[i], base.width / 2, textHeight);