Keep the content of scaled box wrappers

\scalebox, \resizebox, \rotatebox and \raisebox were unsupported, so a wrapped
graphic or table could leak its command text. A body pass now parses each
wrapper's numeric/optional arguments and replaces the whole construct with its
content, leaving the content at natural size and position because the engine
has no display-list transform.

A test wraps four fragments in the four commands and checks the visible text
concatenates with no warnings and no leaked command names.
This commit is contained in:
gloamxun committed 2026-10-27 02:59:19 +08:00
1 parent dc9428e87e
commit 7fbcb326d5
4 files changed
+113 -6

No files matched your search

+2 -2
View File
@@ -14,12 +14,12 @@ cargo fmt --all -- --check
cargo test --workspace --offline
```
The workspace currently passes **1038 tests**:
The workspace currently passes **1039 tests**:
| Suite | Tests |
| --- | --- |
| route-D unit (engine) | 437 |
| engine binary unit | 409 |
| engine binary unit | 410 |
| server integration | 63 |
| v1 integration | 71 |
| pdfLaTeX oracle | 42 |