Node-canvas fonts #10339
Replies: 2 comments 11 replies
-
Font implementation is browser and OS dependant sadly. I see the difference is mostly in spacing. Are you using letter spacing by chance? |
Beta Was this translation helpful? Give feedback.
-
The machine is the same Windows machine and i am not using any letter spacing on those textbox. I think the problem relies mostly on Pango: So maybe with the latest version of pango there is a more faithful rendering, but this error on most fonts is preventing us from testing it (i did try to build the node-canvas library with pango 1.54.0) |
Beta Was this translation helpful? Give feedback.
-
Hi,
i'm having a lot of trouble finding a way to obtain the exact same image result from a canvas in the browser and on server side. (node canvas version 2.10.2)
The main problem is with my custom fonts, that are correctly registered with node-canvas.
But the final results has small differences in the fonts rendering from the browser.
Anyone has faced this issue? Is there a solution/alternative to node-canva?
Any help would be great thanks! :)
Beta Was this translation helpful? Give feedback.
All reactions