hopefully fixed font rendering

This commit is contained in:
st committed 2026-06-29 00:49:20 -05:00
1 parent fafdc5de9b
commit 82f2486bb1
1 file changed
+5 -1
+5 -1
View File
@@ -704,7 +704,11 @@ GlobalFonts.registerFromPath(
); );
GlobalFonts.registerFromPath('C:/Windows/Fonts/tahoma.ttf', 'Tahoma'); GlobalFonts.registerFromPath('C:/Windows/Fonts/tahoma.ttf', 'Tahoma');
GlobalFonts.registerFromPath('C:/Windows/Fonts/tahomabd.ttf', 'TahomaB'); 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 <url>, cleared with !clearbg // Custom background URL — set with !setbg <url>, cleared with !clearbg
let customBgUrl = null; let customBgUrl = null;