editly
editly copied to clipboard
Custom font within a fabric layer
- [x] I have tried with the newest version of editly:
npm i -g editlyornpm i editly@latest - [x] I have tried ffmpeg newest stable version
- [x] I have searched for existing issues
How can we use a custom font when using fabrics' Text?
I'm trying to achieve the same things. I tried:
fabric.nodeCanvas.registerFont(pathToFont, {
family: 'fontName', weight: 'bold', style: 'normal'
});
But don't works :/