Clean Up Fonts

This commit is contained in:
Dragon Fire
2020-07-01 12:20:29 -04:00
parent 38926f87a7
commit 0c0853dec4
8 changed files with 3 additions and 5 deletions
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -3,7 +3,7 @@ const { createCanvas, loadImage, registerFont } = require('canvas');
const request = require('node-superfetch');
const path = require('path');
const { greyscale } = require('../../util/Canvas');
registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'CoffinStone-vmmZL.otf'), { family: 'Coffin Stone' });
registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'CoffinStone.otf'), { family: 'Coffin Stone' });
module.exports = class RipCommand extends Command {
constructor(client) {
-2
View File
@@ -4,8 +4,6 @@ const request = require('node-superfetch');
const path = require('path');
const { centerImagePart, greyscale } = require('../../util/Canvas');
registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'PokemonGb.ttf'), { family: 'Pokemon GB' });
registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'PokemonGbJapanHr.ttf'), { family: 'Pokemon GB' });
registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'PokemonGbJapanKt.ttf'), { family: 'Pokemon GB' });
module.exports = class WildPokemonCommand extends Command {
constructor(client) {
+1 -1
View File
@@ -5,7 +5,7 @@ const { stripIndents } = require('common-tags');
const { shuffle, randomRange } = require('../../util/Util');
const { drawImageWithTint } = require('../../util/Canvas');
const horses = require('../../assets/json/horse-race');
registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'Paladins-nl8P.otf'), { family: 'Paladins' });
registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'Paladins.otf'), { family: 'Paladins' });
const colors = ['gold', 'silver', '#cd7f32'];
module.exports = class HorseRaceCommand extends Command {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "117.11.0",
"version": "117.11.1",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {