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
To generate a printable PDF on my nodejs server, i have to move all objects depending on their position on the printsheet:
canvas.loadFromJSON(printPageCanvas,function(){canvas.renderAll();fs.writeFile(test.pdf,canvas.nodeCanvas.toBuffer(),function(err){//done});},function(o,object){//move all objects of page to the position of the page relative to the printpage.object.set({left: object.left+object.printPageMargin}).setCoords();});
When rendering the objects without moving them (in the browser), the i-text elements with fontAlignment = "center" are displayed correctly:
When moving them on the canvas, the alignment and font-styling is corrupted:
The text was updated successfully, but these errors were encountered:
To generate a printable PDF on my nodejs server, i have to move all objects depending on their position on the printsheet:
When rendering the objects without moving them (in the browser), the i-text elements with fontAlignment = "center" are displayed correctly:
When moving them on the canvas, the alignment and font-styling is corrupted:
The text was updated successfully, but these errors were encountered: