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 +}