mirror of
https://github.com/jcreek/PlannerGenerator.git
synced 2026-07-12 18:43:51 +00:00
feat(*): Improve quality of output PDF
This commit is contained in:
@@ -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,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user