hopefully fixed font rendering
This commit is contained in:
1 parent
fafdc5de9b
commit
82f2486bb1
1 file changed
+5
-1
+5
-1
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user