Paint rules and frames as native PDF rectangles

This commit is contained in:
gloamxun committed 2026-10-19 14:04:02 +08:00
1 parent 4aa1714923
commit be6f8859c2
36 files changed
+8967 -53

No files matched your search

+3 -3
View File
@@ -8,7 +8,9 @@ family and true scaled small caps; inline box geometry (`\fbox`, `\makebox`,
`\raisebox`), `\minipage`, `\vbox`/`\vtop` block approximations;
footnotes/`\thanks`; figure/table `[htbp]` placement approximations; page
styles (plain/fancy, `\thispagestyle`, fancyhdr headers/footers, `\thepage`);
and geometry-aware `\textwidth`/`\textheight` named length registers.
geometry-aware `\textwidth`/`\textheight` named length registers; table of
contents and figure/table lists; and native PDF rectangles for rules and
frames (vendored genpdf `fill_rect`/`draw_rect`, no image XObjects).
## 1. Unified pagination
@@ -34,7 +36,5 @@ and geometry-aware `\textwidth`/`\textheight` named length registers.
## 4. PDF painting and title blocks (remaining)
- Paint rules and frames as native PDF rectangles (`printpdf` operators)
instead of 1x1 image XObjects.
- Let a document-level `\renewcommand{\maketitle}` contribute a real title
block once the engine's title model can run box material.