Open ErnestoRB opened 1 year ago
I'm not positive if this is the same issue, but there's some issue with fonts in 2.11.0 prebuilds on Windows that seems to be due to a difference in one of node-canvas's dependencies between 2.10.2 and 2.11.0. It'll take a while to figure out which of the ~35 dependencies is causing it unfortunately. Until then, can you use v2.10.2?
Is this only an issue with the prebuilds or does it also occur if you build canvas from source npm i --build-from-source
after cleaning node_modules @ErnestoRB?
Is this only an issue with the prebuilds or does it also occur if you build canvas from source
npm i --build-from-source
after cleaning node_modules @ErnestoRB?
I can say that using npm i --build-from-source
does not fix the problem (win/Linux)
Is this only an issue with the prebuilds or does it also occur if you build canvas from source
npm i --build-from-source
after cleaning node_modules @ErnestoRB?I can say that using
npm i --build-from-source
does not fix the problem (win/Linux)
Hi, can you look into this issue? https://github.com/Automattic/node-canvas/issues/2285 , i have been trying to resolve this thing but couldn't, would appreciate, thanks
Issue
On v2.10.2 the follwing snippet was printing the text as expected and no warning was shown. On v2.11.0 warning is printed and the text isn't draw with the declared font. Seems like the problem only happens with fonts that aren't installed on the system.
Steps to Reproduce
Desired beheavior: No warning and text drawn with the set font.
Actual behavior:
And text drawn with fallback font.
Your Environment
npm list canvas
oryarn list canvas
): v2.11.0