Increase FirmaEC name size and bump to 1.2.29

This commit is contained in:
2026-05-22 15:13:49 -05:00
parent 7fc4707724
commit 8d090dc8ca
9 changed files with 14 additions and 10 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "linkedsign-backend",
"version": "1.2.28",
"version": "1.2.29",
"private": true,
"description": "Initial backend for LinkedSign",
"main": "src/server.js",
@@ -360,7 +360,7 @@ async function drawStyleFirmaEC(pdfDoc, page, sx, sy, sw, sh, { signerName, veri
page.drawText('Firmado electronicamente por:', { x: textX, y: sy + sh - 21, size: 6, font: fReg, color: rgb(0.12, 0.12, 0.14) });
// Name — bold, uppercase, word-wrapped up to 2 lines
const nameSize = 8.5;
const nameSize = 12.5;
const nameLines = getFirmaEcNameLines(signerName, fBold, nameSize, textW);
nameLines.forEach((line, i) => {
page.drawText(line, { x: textX, y: sy + sh - 34 - (i * 13), size: nameSize, font: fBold, color: rgb(0.05, 0.05, 0.07) });