From a27f8009894c021c01d3213fbda137da946ddc5f Mon Sep 17 00:00:00 2001 From: st Date: Mon, 29 Jun 2026 00:55:34 -0500 Subject: [PATCH] hopefully this works for the font --- src/bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bot.js b/src/bot.js index 5e08671..c0e0766 100644 --- a/src/bot.js +++ b/src/bot.js @@ -705,7 +705,7 @@ GlobalFonts.registerFromPath( GlobalFonts.registerFromPath('C:/Windows/Fonts/tahoma.ttf', 'Tahoma'); GlobalFonts.registerFromPath('C:/Windows/Fonts/tahomabd.ttf', 'TahomaB'); -const fontPath = path.join(__dirname, 'fonts', 'SF-Pro-Display-Semibold.otf'); +const fontPath = path.join(__dirname, '..', 'assets', 'SF-Pro-Display-Semibold.otf'); console.log('looking for font at:', fontPath); console.log('file exists:', require('fs').existsSync(fontPath));