diff --git a/assets/fonts/Stone Serif LT Italic.ttf b/assets/fonts/Stone Serif LT Italic.ttf new file mode 100644 index 00000000..2f9fcc71 Binary files /dev/null and b/assets/fonts/Stone Serif LT Italic.ttf differ diff --git a/commands/edit-image/yu-gi-oh-gen.js b/commands/edit-image/yu-gi-oh-gen.js index 71611533..1b966024 100644 --- a/commands/edit-image/yu-gi-oh-gen.js +++ b/commands/edit-image/yu-gi-oh-gen.js @@ -14,6 +14,9 @@ registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'Stone Serif.tt registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'Stone Serif Small Caps.ttf'), { family: 'Stone Serif Small Caps' }); +registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'Stone Serif LT Italic.ttf'), { + family: 'Stone Serif LT Italic' +}); module.exports = class YuGiOhGenCommand extends Command { constructor(client) { @@ -145,7 +148,7 @@ module.exports = class YuGiOhGenCommand extends Command { ctx.font = '35px Stone Serif Small Caps'; ctx.fillText('[ Trap Card ]', 489, 141); } - ctx.font = '27px Matrix Book'; + ctx.font = monsterType === 'normal' ? '27px Stone Serif LT Italic' : '27px Matrix Book'; const wrappedEffect = await wrapText(ctx, effect, 690); ctx.fillText(wrappedEffect.join('\n'), 63, 930 - (type === 'monster' ? 0 : 31)); ctx.font = '22px Stone Serif';