I am using html2canvas
to take an image of a div, the content is from the same page, same domain, but it shows the Arabic letters disconnected, it seems that h
Find this line in html2canvas.js and add center to this like this:
(!options.letterRendering && /^(left|right|justify|auto|center)$/.test(textAlign) && noLetterSpacing(getCSS(el, "letterSpacing"))) ? textNode.nodeValue.split(/(\b| )/) : textNode.nodeValue.split("");
Then set text-align:right/left/canter/justify in each box that have problem. it work for me well.