diff --git a/bitaddress.org.html b/bitaddress.org.html index 14def63..7f74b59 100644 --- a/bitaddress.org.html +++ b/bitaddress.org.html @@ -4366,9 +4366,13 @@ var height = qrcode.getModuleCount() * sizeMultiplier; // create canvas element var canvas = document.createElement('canvas'); - canvas.width = width; - canvas.height = height; + var scale = 10.0; + canvas.width = width * scale; + canvas.height = height * scale; + canvas.style.width = width + 'px'; + canvas.style.height = height + 'px'; var ctx = canvas.getContext('2d'); + ctx.scale(scale, scale); // compute tileW/tileH based on width/height var tileW = width / qrcode.getModuleCount(); var tileH = height / qrcode.getModuleCount();