diff --git a/cara/apps/calculator/static/css/report.css b/cara/apps/calculator/static/css/report.css index c0e5dc93..6015930a 100644 --- a/cara/apps/calculator/static/css/report.css +++ b/cara/apps/calculator/static/css/report.css @@ -109,13 +109,13 @@ p.notes { page-break-inside: avoid; } .first_page { - height: 370pt; + height: 380pt; } .second_page { - height: 500pt; + height: 540pt; } .third_page { - height: 100pt; + height: 90pt; } .fourth_page { height: 650pt; diff --git a/cara/apps/calculator/static/js/pdf.js b/cara/apps/calculator/static/js/pdf.js index c223e10e..fbce502e 100644 --- a/cara/apps/calculator/static/js/pdf.js +++ b/cara/apps/calculator/static/js/pdf.js @@ -5,8 +5,8 @@ function execute_me(qr_link) { console.log(window); var opt = { filename: 'myfile.pdf', - image: { type: 'jpeg', quality: 0.9 }, - html2canvas: { width: 1200, windowWidth: 1200 }, + image: { type: 'jpeg', quality: 0.98 }, + html2canvas: { scale: 2, width: 1200, windowWidth: 1200 }, enableLinks: false, jsPDF: { unit: 'pt',