You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: address PR review comments on table rendering
- Clone preset styles in resolveTableStyle to prevent mutation of shared TABLE_STYLES singletons across renders
- Use local pageBg from doc.theme.bg instead of caching stale _pageBg on the style object; remove _pageBg from TableStyle interface
- Use validated style.bodyFg for row text color with autoTextColor fallback, fixing dead code where bodyFg was corrected but never used
- Enable PDF visual tests on Windows via WSL pdftoppm
- Add install-pdf-deps Justfile recipe for Linux and Windows/WSL
- Regenerate golden baselines to match bodyFg rendering change
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
Copy file name to clipboardExpand all lines: builtin-modules/pdf.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,8 @@
3
3
"description": "PDF 1.7 document generation — text, graphics, metadata, standard fonts. Flow-based layout for auto-paginating documents.",
4
4
"author": "system",
5
5
"mutable": false,
6
-
"sourceHash": "sha256:e6e604e51302ea45",
7
-
"dtsHash": "sha256:f30fba88bfe5f977",
6
+
"sourceHash": "sha256:fedd6d3bc7c638e8",
7
+
"dtsHash": "sha256:e56bc4be1f1d0cd1",
8
8
"importStyle": "named",
9
9
"hints": {
10
10
"overview": "Generate PDF documents with text, shapes, and metadata. Uses PDF's 14 standard fonts (no embedding required). Coordinates are in points (72 points = 1 inch), with top-left origin.",
0 commit comments