I’m doing make a bot discord on pc but how should I use custom font inside windows?
i know that’s on glitch …
It should work on Windows too.
(node:2636) UnhandledPromiseRejectionWarning: TypeError: canvas.registerFont is not a function
I tried but did not work
canvas.registerFont('Proppins.ttf', {family: 'ProppinsFont'});
ctx.font = "35px ProppinsFont";