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 have a trouble with getting the fonts to work on production server. Everything works locally (MacOS, 2020 M1 running on Sonoma 14.1.1), but not on Node server.
This is how I use them: context.font = "40px 'Neue Machina Regular'"; or context.font = "40px 'Karla Regular'";
I am pretty sure the code can access the fonts on the server, because I've tried to delete them and run the script again. This ended up throwing a 404 error, as it could not find the files.
registerFont is broken, some said this don't occur on 2.10.2, in case downgrading didn't work, try deleting node_modules and reinstall with downgraded version #2285
Hi, I have a trouble with getting the fonts to work on production server. Everything works locally (MacOS, 2020 M1 running on Sonoma 14.1.1), but not on Node server.
This is the
registerFont
section of the code:This is how I use them:
context.font = "40px 'Neue Machina Regular'";
orcontext.font = "40px 'Karla Regular'";
I am pretty sure the code can access the fonts on the server, because I've tried to delete them and run the script again. This ended up throwing a 404 error, as it could not find the files.
local and server
npm list
looks exactly the sameservers
node -v
output isv18.17.1
, local isv18.14.2
any help appreciated!
The text was updated successfully, but these errors were encountered: