Skip to content
Advertisement

Html2canvas image capturing issue with UTF-8 characters

I want to capture my webpage, In order to this I find html2canvas, when I use as shown below ,my UTF-8 (persian) characters get in trouble and this direction destroyed as you see.

HTML:

JavaScript

JavaScript:

JavaScript

WebPage:

enter image description here

Captured WebPage via html2canvas:

enter image description here

you can see full example here

What is wrong with my implementation?

Advertisement

Answer

Set the box css that have trouble to :

JavaScript

that work for me.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement