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

how to use a custom font? #100

Open
danielmari2 opened this issue Feb 12, 2023 · 2 comments
Open

how to use a custom font? #100

danielmari2 opened this issue Feb 12, 2023 · 2 comments

Comments

@danielmari2
Copy link

I'm trying to using a custom font but I'm not able to do so.
I tried with google fonts using and it works, but when I try to add my custom font from a local file with @face-font it doesn't work.

Can someone share the code?

@BranislavBajuzik
Copy link

You can work around this by embedding it as base64: https://codepen.io/netsi1964/pen/mLWoaE

A solution would be to make a mechanism to pass these files so they can also be copied to the temp folder (Or you can maybe try to set your folder as the tmp folder)

@einzelfabrik
Copy link

You can work around this by embedding it as base64: https://codepen.io/netsi1964/pen/mLWoaE

A solution would be to make a mechanism to pass these files so they can also be copied to the temp folder (Or you can maybe try to set your folder as the tmp folder)

I can confirm, have included it as base64 - and you get the correct font also in the screenshot.

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

3 participants