ISMIS Helper: cross-browser build, CI, PDF fixes, Chrome download fix #1

Merged
adrianbonpin merged 55 commits from feat/ismis-helper into prod 2026-08-18 19:13:50 +00:00
Showing only changes of commit 79d58f994d - Show all commits
+2 -2
View File
@@ -185,8 +185,8 @@
if (header.program) page.drawText(compactProgram(header.program), { x: 338, y, size: 9, font, color: black }); if (header.program) page.drawText(compactProgram(header.program), { x: 338, y, size: 9, font, color: black });
if (yearLevelText) { if (yearLevelText) {
const w = font.widthOfTextAtSize(yearLevelText, 9); const w = font.widthOfTextAtSize(yearLevelText, 9);
// Right-aligned to the content edge, nudged left ~12pt (~1rem). // Right-aligned to the content edge, nudged left ~6pt (half of 1rem).
page.drawText(yearLevelText, { x: margin + contentWidth - w - 12, y, size: 9, font, color: black }); page.drawText(yearLevelText, { x: margin + contentWidth - w - 6, y, size: 9, font, color: black });
} }
if (header.studentId || header.fullName || header.program || yearLevelText) y -= 14.5; if (header.studentId || header.fullName || header.program || yearLevelText) y -= 14.5;