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
I also tested on Chrome and works fine. The problem only occurs on production environment, when I run the app on development environment all works fine.
The text was updated successfully, but these errors were encountered:
Before all, thanks for this lib, I am searching for a related thing for a long time!
Problem
I am having issues with font on Firefox, when I save the image using
domToPng
, the browser default font is used instead my custom font.preview
result
Environment
Browser: Firefox 113.0.2
Framework: Next.js@13.4.4
modern-screenshot: 4.4.25
Related Libs: react@18.2.0, tailwindcss@3.3.2, postcss@8.4.24
Repo: https://github.com/mateusfg7/rifa
Related source:
tailwind.config.js
where I setup my custom fontlayout.tsx
where I usenext/font
to get font classesdomToPng
Additional information
I also tested on Chrome and works fine. The problem only occurs on production environment, when I run the app on development environment all works fine.
The text was updated successfully, but these errors were encountered: