From 5f446aac275cb2435d7ffed30f8c819d898452fa Mon Sep 17 00:00:00 2001 From: st Date: Mon, 29 Jun 2026 00:53:29 -0500 Subject: [PATCH] i hate this font --- src/bot.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/bot.js b/src/bot.js index 39e9ab8..5e08671 100644 --- a/src/bot.js +++ b/src/bot.js @@ -705,8 +705,12 @@ 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'); +console.log('looking for font at:', fontPath); +console.log('file exists:', require('fs').existsSync(fontPath)); + const loaded = GlobalFonts.registerFromPath( - path.join(__dirname, 'assets', 'SF-Pro-Display-Semibold.otf'), + fontPath, 'SF Pro Display' );