editly icon indicating copy to clipboard operation
editly copied to clipboard

Custom font within a fabric layer

Open Kalo0m opened this issue 2 years ago • 1 comments

  • [x] I have tried with the newest version of editly: npm i -g editly or npm 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?

Kalo0m avatar Mar 20 '23 11:03 Kalo0m

I'm trying to achieve the same things. I tried:

fabric.nodeCanvas.registerFont(pathToFont, {
            family: 'fontName', weight: 'bold', style: 'normal'
});

But don't works :/

BowgartField avatar Nov 09 '23 13:11 BowgartField