diff --git a/commands/image-edit/meme-gen.js b/commands/image-edit/meme-gen.js index a06842fa..3b61c877 100644 --- a/commands/image-edit/meme-gen.js +++ b/commands/image-edit/meme-gen.js @@ -52,6 +52,7 @@ module.exports = class MemeGenCommand extends Command { ctx.font = `${fontSize}px Impact`; ctx.fillStyle = 'white'; ctx.textAlign = 'center'; + ctx.textBaseline = 'top'; const topLines = await wrapText(ctx, top, base.width - 10); for (let i = 0; i < topLines.length; i++) { const textHeight = (i * fontSize) + (i * 10);