update for questionnaire PDF file, change PDF license position

This commit is contained in:
merelendor 2024-09-11 06:57:45 +00:00
parent f75709f4a1
commit 797b6eb2c6
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -166,7 +166,7 @@ export default async function handler(req, res)
const page = pdfDoc.getPage(1); const page = pdfDoc.getPage(1);
page.drawRectangle({ page.drawRectangle({
x: 150, x: 150,
y: 174, y: 452,
width: 412, width: 412,
height: 26, height: 26,
color: rgb(0.87, 0.87, 0.87), color: rgb(0.87, 0.87, 0.87),
@ -182,7 +182,7 @@ export default async function handler(req, res)
page.drawText(licenses, { page.drawText(licenses, {
x: 152, x: 152,
y: licenses.length > 500 ? 195 : (licenses.length > 400) ? 195 : 193, y: licenses.length > 500 ? 473 : (licenses.length > 400) ? 473 : 471,
size: licenses.length > 500 ? 4 : (licenses.length > 400) ? 5 : 6, size: licenses.length > 500 ? 4 : (licenses.length > 400) ? 5 : 6,
font: formFont, font: formFont,
color: rgb(0, 0, 0), color: rgb(0, 0, 0),