added support for font-metrics, to find baseline information for text (text-decoration:underline)

This commit is contained in:
MoyuScript
2011-07-16 22:35:06 +03:00
parent ecc1087d49
commit 30c8d30af5
4 changed files with 195 additions and 44 deletions

View File

@@ -26,6 +26,7 @@ function html2canvas(el, userOptions) {
image;
this.imagesLoaded = 0;
this.images = [];
this.fontData = [];
this.ignoreElements = "IFRAME|OBJECT|PARAM";