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 = {
|
||||
margin: 0,
|
||||
filename: `planner-${year}.pdf`,
|
||||
// image: {
|
||||
// type: 'png',
|
||||
// quality: 1
|
||||
// },
|
||||
jsPDF: {
|
||||
unit: 'mm',
|
||||
format: 'a4',
|
||||
orientation: 'landscape',
|
||||
},
|
||||
html2canvas: {
|
||||
scale: 4,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user