diff --git a/build.xml b/build.xml deleted file mode 100644 index 984d861..0000000 --- a/build.xml +++ /dev/null @@ -1,167 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Creating directory ${build.dir}... - - - - - Creating ${JQUERY_PLUGIN_NAME}... - - - - - - - - - - - - Concatenating files:${line.separator}${prettty-sourcefiles}${line.separator}into ${build.dir}/${JS_NAME}... - - - - - - - - Concatenating files:${line.separator}${prettty-sourcefiles-allrends}${line.separator}into ${build.dir}/${JS_NAME}... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bookmarklet.html b/examples/bookmarklet.html similarity index 100% rename from bookmarklet.html rename to examples/bookmarklet.html diff --git a/demo.html b/examples/demo.html similarity index 100% rename from demo.html rename to examples/demo.html diff --git a/demo2.html b/examples/demo2.html similarity index 100% rename from demo2.html rename to examples/demo2.html diff --git a/demo3.html b/examples/demo3.html similarity index 100% rename from demo3.html rename to examples/demo3.html diff --git a/src/Parse.js b/src/Parse.js index 5a3ba96..d82b5be 100644 --- a/src/Parse.js +++ b/src/Parse.js @@ -220,7 +220,7 @@ _html2canvas.Parse = function ( images, options ) { } ctx.setVariable("fillStyle", color); - ctx.setVariable("font", font_style+ " " + font_variant + " " + bold + " " + size + " " + family); + ctx.setVariable("font", [font_style, font_variant, bold, size, family].join(" ")); ctx.setVariable("textAlign", (align) ? "right" : "left"); if (text_decoration !== "none"){ return fontMetrics(family, size);