Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom font within a fabric layer #233

Open
3 tasks done
Kalo0m opened this issue Mar 20, 2023 · 1 comment
Open
3 tasks done

Custom font within a fabric layer #233

Kalo0m opened this issue Mar 20, 2023 · 1 comment

Comments

@Kalo0m
Copy link
Contributor

Kalo0m commented Mar 20, 2023

  • I have tried with the newest version of editly: npm i -g editly or npm i editly@latest
  • I have tried ffmpeg newest stable version
  • I have searched for existing issues

How can we use a custom font when using fabrics' Text?

@BowgartField
Copy link

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

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

But don't works :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants