From eece64d527a3068027a22ebda760f638e087960d Mon Sep 17 00:00:00 2001 From: Ashley Graves Date: Sat, 12 Oct 2024 14:01:11 +0200 Subject: [PATCH] fon --- src/utils/quoter.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/quoter.js b/src/utils/quoter.js index 582c0c9..3f83b46 100644 --- a/src/utils/quoter.js +++ b/src/utils/quoter.js @@ -83,7 +83,7 @@ module.exports = { ctx.drawImage(fade, cardHeight - 400, 0, 400, cardHeight); ctx.fillStyle = "#fff"; - ctx.font = "italic 20px Georgia"; + ctx.font = "italic 20px Twitter Color Emoji"; const quoteWidth = cardWidth / 2 - 50; const quoteX = ((cardWidth - cardHeight)); const quoteY = cardHeight / 2 - 10; @@ -91,7 +91,7 @@ module.exports = { const wrappedTextHeight = lines.length * 25; - ctx.font = "bold 16px Georgia"; + ctx.font = "bold 16px Twitter Color Emoji"; const authorNameX = (cardHeight * 1.5) - (ctx.measureText(`- ${name}`).width / 2) - 30; const authorNameY = quoteY + wrappedTextHeight + 30; @@ -101,4 +101,4 @@ module.exports = { return await canvasToBuffer(canvas); } -} \ No newline at end of file +}