mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
moved examples
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user