mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 00:32:43 +10:00
🎨 🧹📝 remove todos, document typing
This commit is contained in:
@ -26,8 +26,8 @@ export async function insertTextInPDF(
|
||||
const textHeight = customFont.heightAtSize(textSize);
|
||||
|
||||
pdfPage.drawText(text, {
|
||||
x: positionX, // todo adjust for exact field size
|
||||
y: pdfPage.getHeight() - positionY - textHeight / 2, // todo adjust for exact field size
|
||||
x: positionX,
|
||||
y: pdfPage.getHeight() - positionY - textHeight / 2,
|
||||
size: textSize,
|
||||
font: useHandwritingFont ? customFont : helveticaFont,
|
||||
color: rgb(0, 0, 0),
|
||||
|
||||
Reference in New Issue
Block a user