This commit is contained in:
st committed 2026-06-29 00:51:12 -05:00
1 parent 82f2486bb1
commit 6143664d14
1 file changed
+4 -1
+4 -1
View File
@@ -705,11 +705,14 @@ GlobalFonts.registerFromPath(
GlobalFonts.registerFromPath('C:/Windows/Fonts/tahoma.ttf', 'Tahoma');
GlobalFonts.registerFromPath('C:/Windows/Fonts/tahomabd.ttf', 'TahomaB');
GlobalFonts.registerFromPath(
const loaded = GlobalFonts.registerFromPath(
path.join(__dirname, 'assets', 'SF-Pro-Display-Semibold.otf'),
'SF Pro Display'
);
console.log('font loaded:', loaded);
console.log('registered fonts:', GlobalFonts.families);
// Custom background URL — set with !setbg <url>, cleared with !clearbg
let customBgUrl = null;