Skip to content

Commit ff30e8c

Browse files
committed
feat(export): refactored PDF report with line-by-line rendering and keyword coverage
- moved PDF generation from ReportExport.svelte to engine/scorer/report.ts - added classification.ts for score grading logic - fixed letter spacing bug by rendering text line-by-line instead of passing arrays to jsPDF - added keyword coverage section with matched/missing keyword boxes sorted by frequency - fixed footer layout: disclaimer constrained to 68mm, centered attribution link - dynamic section numbering based on content presence - cleaned up scoring component imports
1 parent 4c43bd8 commit ff30e8c

File tree

9 files changed

+569
-534
lines changed

9 files changed

+569
-534
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"bits-ui": "^2.16.0",
2929
"compromise": "^14.14.3",
3030
"firebase": "^12.9.0",
31-
"html2pdf.js": "^0.14.0",
31+
"jspdf": "^4.2.0",
3232
"mammoth": "^1.8.0",
3333
"motion": "^12.0.0",
3434
"motion-sv": "^0.1.10",

pnpm-lock.yaml

Lines changed: 9 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)