From 3abc27eea1b6bad8520b33bdf2747651c2c46a19 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sat, 18 Apr 2026 18:43:33 +0000 Subject: [PATCH] Changes Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com> --- src/lib/pdf-pleading.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/pdf-pleading.ts b/src/lib/pdf-pleading.ts index 13f42be..6243f1e 100644 --- a/src/lib/pdf-pleading.ts +++ b/src/lib/pdf-pleading.ts @@ -202,7 +202,7 @@ export async function downloadPleadingPdf(input: PleadingInput, filename: string const plaintiffLines = (input.plaintiffs || "").split("\n").filter((l) => l.trim()); const defendantLines = (input.defendants || "").split("\n").filter((l) => l.trim()); - setFont(pdf, {}); + setFont(pdf, { bold: true }); const captionLeft: string[] = []; if (plaintiffLines.length) captionLeft.push(...plaintiffLines); else captionLeft.push(" "); captionLeft.push(""); @@ -223,7 +223,10 @@ export async function downloadPleadingPdf(input: PleadingInput, filename: string const captionEndY = ly; pdf.setLineWidth(0.6); + // Vertical divider between caption columns pdf.line(MARGIN + leftColW + 12, captionStartY - LINE_H + 4, MARGIN + leftColW + 12, captionEndY); + // Bottom border under the left caption cell + pdf.line(leftX, captionEndY + 2, MARGIN + leftColW + 12, captionEndY + 2); void rightColW; y = captionEndY + LINE_H;