From 82f2486bb14607abc98d8ae22f941acbe239c2a6 Mon Sep 17 00:00:00 2001 From: st Date: Mon, 29 Jun 2026 00:49:20 -0500 Subject: [PATCH] hopefully fixed font rendering --- src/bot.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/bot.js b/src/bot.js index 44d89a7..563a0d9 100644 --- a/src/bot.js +++ b/src/bot.js @@ -704,7 +704,11 @@ GlobalFonts.registerFromPath( ); GlobalFonts.registerFromPath('C:/Windows/Fonts/tahoma.ttf', 'Tahoma'); GlobalFonts.registerFromPath('C:/Windows/Fonts/tahomabd.ttf', 'TahomaB'); -GlobalFonts.registerFromPath('./fonts/SF-Pro-Display-Semibold.otf', 'SF Pro Display'); + +GlobalFonts.registerFromPath( + path.join(__dirname, 'assets', 'SF-Pro-Display-Semibold.otf'), + 'SF Pro Display' +); // Custom background URL — set with !setbg , cleared with !clearbg let customBgUrl = null;