The Open Source DocuSign Alternative.
TypeScript digital-signaturedocument-signingdocusign-alternativee-signatureesignesignaturenext-authnextjsopen-sourcepades-standardpdfpdf-signpdf-signaturepostgresqlprismaself-hostedsigningtypescript
🐛 doc-124 Text Signature is not places at field coordinates
Timur Ercan103f9cbe36ba
diff --git a/packages/pdf/insertTextInPDF.ts b/packages/pdf/insertTextInPDF.tsindex 394152813..184f8b963 100644--- a/packages/pdf/insertTextInPDF.ts+++ b/packages/pdf/insertTextInPDF.ts@@ -24,7 +24,7 @@ export async function insertTextInPDF(const textHeight = customFont.heightAtSize(textSize);pdfPage.drawText(text, {- x: pdfPage.getWidth() - positionX - textWidth / 2, // todo adjust for exact field size+ x: positionX, // todo adjust for exact field sizey: pdfPage.getHeight() - positionY - textHeight / 2, // todo adjust for exact field sizesize: textSize,font: customFont,