This commit is contained in:
Jens Cornelsen
2025-04-15 16:57:40 +02:00
parent eefae0635a
commit db4fc19c1a
2 changed files with 6 additions and 6 deletions

View File

@@ -253,7 +253,7 @@ export async function pdfVerbrauchsausweisGewerbe(ausweis: VerbrauchsausweisGewe
const aussteller = await pdf.embedPng(fs.readFileSync(new URL("../../../public/pdf/images/aussteller.png", import.meta.url), "base64"));
pages[0].drawImage(aussteller, {
x: 260,
y: height - 750,
y: height - 760,
width: 130,
height: 65
})

View File

@@ -274,7 +274,7 @@ export async function pdfVerbrauchsausweisWohnen(ausweis: VerbrauchsausweisWohne
// Stempel und Unterschrift
if (!vorschau) {
const stempel = await pdf.embedPng(fs.readFileSync(new URL("../../../public/pdf/images/stempel-unterschrift.png", import.meta.url), "base64"));
const stempelHeight = 60
const stempelHeight = 65
pages[0].drawImage(stempel, {
x: 450,
@@ -288,10 +288,10 @@ export async function pdfVerbrauchsausweisWohnen(ausweis: VerbrauchsausweisWohne
const aussteller = await pdf.embedPng(fs.readFileSync(new URL("../../../public/pdf/images/aussteller.png", import.meta.url), "base64"));
pages[0].drawImage(aussteller, {
x: 40,
y: height - 770,
width: 100,
height: 50
x: 260,
y: height - 780,
width: 130,
height: 65
})