Skip to content

Local font for Text element #898

Answered by mwmwmw
marcelpi asked this question in Q&A
May 11, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

This will depend on what build system you're using, but, if you want to use what is in the public folder, don't include public in the path.

<Text font='/assets/fonts/font.ttf' />

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@marcelpi
Comment options

Answer selected by marcelpi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants