From af2bc91a1dc8aa2a886c3c9b901d9910f4c28bc1 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 3 May 2024 01:25:53 -0400 Subject: [PATCH] Fix --- commands/edit-image/wild-pokemon.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/edit-image/wild-pokemon.js b/commands/edit-image/wild-pokemon.js index 2c8e25d3..7027232a 100644 --- a/commands/edit-image/wild-pokemon.js +++ b/commands/edit-image/wild-pokemon.js @@ -56,9 +56,9 @@ module.exports = class WildPokemonCommand extends Command { const { x, y, width, height } = centerImagePart(data, 100, 100, 227, 11); pixelize(ctx, canvas, data, 0.30, x, y, width, height); greyscale(ctx, x, y, width, height); - ctx.letterSpacing = '5px'; + ctx.letterSpacing = '6px'; ctx.textBaseline = 'top'; - ctx.font = this.client.fonts.get('PokemonGb.ttf').toCanvasString(16); + ctx.font = this.client.fonts.get('PokemonGb.ttf').toCanvasString(18); ctx.fillText(name.toUpperCase(), 110, 203, 215); return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: 'wild-pokemon.png' }] }); }