make sure the image used for the detection of the underline is positioned correctly

This commit is contained in:
MoyuScript 2011-11-23 13:53:15 +01:00
parent ec5a9ecd0f
commit d64f62b9b7

View File

@ -182,6 +182,7 @@ html2canvas.Parse = function (element, images, opts) {
img.style.margin = 0;
img.style.padding = 0;
img.style.verticalAlign = "baseline";
span.style.fontFamily = font;
span.style.fontSize = fontSize;