feat(*): Improve quality of output PDF

This commit is contained in:
Josh Creek
2024-01-05 18:19:23 +00:00
parent 08afe6bc4c
commit 8c2a066088
+7
View File
@@ -21,11 +21,18 @@
const pdfOptions = { const pdfOptions = {
margin: 0, margin: 0,
filename: `planner-${year}.pdf`, filename: `planner-${year}.pdf`,
// image: {
// type: 'png',
// quality: 1
// },
jsPDF: { jsPDF: {
unit: 'mm', unit: 'mm',
format: 'a4', format: 'a4',
orientation: 'landscape', orientation: 'landscape',
}, },
html2canvas: {
scale: 4,
},
}; };