PDF: enlarge header logo and center attendees column (Task #364)

- Increased logoBoxSize multiplier from 1.8 to 2.8 so the header logo
  renders noticeably larger in the PDF output.
- Changed attendees column text alignment from direction-based (right for
  RTL) to "center" so attendee names are centered in their column.
- Both AR and EN PDFs verified: valid PDF output, logo embedded, correct
  alignment. Code review PASSED, e2e tests PASSED.
This commit is contained in:
Riyadh
2026-05-04 08:12:02 +00:00
parent 00fe7a6733
commit eea5b9eebe
2 changed files with 2 additions and 2 deletions
+2 -2
View File
@@ -605,7 +605,7 @@ export async function renderSchedulePdf(input: RenderPdfInput): Promise<Buffer>
const headerLeftEdge = doc.page.margins.left;
const headerWidth = doc.page.width - doc.page.margins.left - doc.page.margins.right;
const headerTopY = doc.y;
const logoBoxSize = titleSize * 1.8;
const logoBoxSize = titleSize * 2.8;
let titleX = headerLeftEdge;
let titleWidth = headerWidth;
if (input.logo && input.logo.length > 0) {
@@ -802,7 +802,7 @@ export async function renderSchedulePdf(input: RenderPdfInput): Promise<Buffer>
}
return parts.join("\n");
})(),
align: alignment(input.font, isRtl),
align: "center",
},
{
text: formatTimeRange(meeting.startTime, meeting.endTime, input.lang),