diff --git a/src/lib/pdf-pleading.ts b/src/lib/pdf-pleading.ts index 51252b3..7804c85 100644 --- a/src/lib/pdf-pleading.ts +++ b/src/lib/pdf-pleading.ts @@ -335,7 +335,7 @@ export async function downloadPleadingPdf(input: PleadingInput, filename: string y = MARGIN; const slTitle = (input.serviceListTitle || "SERVICE LIST").toUpperCase(); setFont(pdf, { bold: true }); - drawLine(pdf, [{ text: slTitle, style: { bold: true } }], MARGIN, y, "center", CONTENT_W, true); + pdf.text(slTitle, PAGE_W / 2, y, { align: "center" }); y += LINE_H * 2; setFont(pdf, {}); serviceList.forEach((c, idx) => {