add pancel and pajzs VO to pdf

This commit is contained in:
2023-10-10 20:13:07 +00:00
parent 199127843b
commit 4d58cc2b6a
8 changed files with 112 additions and 22 deletions
+15
View File
@@ -315,6 +315,21 @@ export async function CreatePDF(karakter: KarakterPdfView) {
DrawMagic(page, fontSizeBase, pdfFont, karakter.NapiMemorizalhatoVarazslatok, karakter.VarazslatMentokNF)
page.drawText(karakter.PancelVO.toString(), {
x: 512,
y: 515,
size: fontSizeBase * 2,
font: pdfFont,
color: rgb(0, 0, 0),
})
page.drawText(karakter.PajzsVO.toString(), {
x: 512,
y: 482,
size: fontSizeBase * 2,
font: pdfFont,
color: rgb(0, 0, 0),
})
const secondPage = pdfDoc.addPage()
DrawSecondPage(secondPage, pdfFont, karakter)