So I wanted to use a custom font for my Discord bot’s welcome system and I use node-canvas but when I put the cdn link of the font file. It doesnt work
Hey! Welcome to the community! Are you using fonts from Google Fonts?
The font must be downloaded into your container. Then loaded by node-canvas. Have a look at this:
No I am using from dafont.com
I downloaded it but now it says
cannot parse font file
You have to download the font in either ttf, woff, woff2 or otf formats into your container (or project). Then you can load them using node-canvas.
I’m usint a font called Modern Deco