From 44867c79f88d935a9040a3491fab3c727ea399b7 Mon Sep 17 00:00:00 2001 From: BOHA Date: Thu, 2 Apr 2026 11:28:12 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20PDF=20item=20names=20bold=20on=20Linux?= =?UTF-8?q?=20=E2=80=94=20font-weight=20500=E2=86=92600?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Linux lacks Segoe UI semibold, so weight 500 rendered as regular. Changed to 600 which maps to bold on both Windows and Linux. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/routes/admin/invoices-pdf.ts | 2 +- src/routes/admin/offers-pdf.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/admin/invoices-pdf.ts b/src/routes/admin/invoices-pdf.ts index ed99ce5..fb6df1a 100644 --- a/src/routes/admin/invoices-pdf.ts +++ b/src/routes/admin/invoices-pdf.ts @@ -699,7 +699,7 @@ export default async function invoicesPdfRoutes( } table.items tbody td.desc { font-size: 9.5pt; - font-weight: 500; + font-weight: 600; color: #1a1a1a; } table.items tbody td.total-cell { font-weight: 700; } diff --git a/src/routes/admin/offers-pdf.ts b/src/routes/admin/offers-pdf.ts index 37a4dd6..07e5526 100644 --- a/src/routes/admin/offers-pdf.ts +++ b/src/routes/admin/offers-pdf.ts @@ -517,7 +517,7 @@ ${indentCSS} } table.items tbody td.desc { font-size: 10pt; - font-weight: 500; + font-weight: 600; color: #1a1a1a; } table.items tbody td.total-cell {