You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi.
I'm using a custom font: Orbitron-VariableFont_wght.ttf file
It works through the app but when I try to print with react-to-print the font is missing causing the data to not render at all.
I'm adding a few screenshots and attempts that I tried to solve the issue.
Hello, apologies for the delayed response. Could you possibly put this on a Codesandbox so I can view the font live? I'm not familiar with it off the top of my head. I find it strange the missing font causes nothing to render. I would expect the browser to fallback to its default font.
Hi.
I'm using a custom font:
Orbitron-VariableFont_wght.ttf
fileIt works through the app but when I try to print with react-to-print the font is missing causing the data to not render at all.
I'm adding a few screenshots and attempts that I tried to solve the issue.
Rendered in site

Rendered in print

I'm using react, the component is:
When adding
className="Orbitron20"
to thediv
the entire element isn't rendered.The text was updated successfully, but these errors were encountered: