We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi - just trying to get a local font to work in Blotter. My utilization of the font in CSS is as follows:
@font-face { font-family: 'gtf_adieu_trialbold'; src: url('../fonts/gtfadieutrial-bold-webfont.woff2') format('woff2'); font-weight: normal; font-style: normal; }
Does blotter utilize the CSS font face somehow? Or is there something specific I need to do to make that available to JS?
The text was updated successfully, but these errors were encountered:
Hi @heaversm
Did you manage to make this work? If so I am really hoping you would share your solution! Thx
Sorry, something went wrong.
const text = new Blotter.Text(textEl.innerHTML, { family : "'Righteous', 'url(Righteous-Regular.ttf)", weight: 900, size : 200, fill : 'black'
and then I kept the font file in the same directory
No branches or pull requests
Hi - just trying to get a local font to work in Blotter. My utilization of the font in CSS is as follows:
Does blotter utilize the CSS font face somehow? Or is there something specific I need to do to make that available to JS?
The text was updated successfully, but these errors were encountered: