From 4ef392423afadd0dec0f131a3f31e7f2491cbbc7 Mon Sep 17 00:00:00 2001 From: adrianbonpin Date: Wed, 19 Aug 2026 00:54:27 +0800 Subject: [PATCH] fix: raise total underline above the number --- pdf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdf.js b/pdf.js index 06283ef..2162e5b 100644 --- a/pdf.js +++ b/pdf.js @@ -330,7 +330,7 @@ const unitsCol = cols[4]; const w = bold.widthOfTextAtSize(data.totalUnits, 8); // Short underline above the total, spanning the UNITS column. - hline(unitsCol.x, unitsCol.x + unitsCol.w, y + 2); + hline(unitsCol.x, unitsCol.x + unitsCol.w, y + 9); page.drawText(data.totalUnits, { x: unitsCol.x + unitsCol.w - w, y, size: 8, font: bold, color: black }); y -= 12; }