Honour declared paper size in route-D output
This commit is contained in:
1 parent
043ae7f072
commit
7b9d543e49
7 files changed
+142
-33
No files matched your search
@@ -48,7 +48,7 @@ floats (`\floatsep`, `\textfloatsep`, `\intextsep`, `\topfraction`,
|
||||
`\bottomnumber`, `\totalnumber`), insertion classes (`\skip`, fraction and
|
||||
absolute limits, splitting), marks, Rust output hook, multi-page PDF, and the
|
||||
route-D service endpoints (`/api/route-d/preview|pdf|edit`, project preview and
|
||||
PDF opt-in with `?engine=route-d`). 367 workspace tests are green and no oracle
|
||||
PDF opt-in with `?engine=route-d`). 370 workspace tests are green and no oracle
|
||||
fixture is ignored.
|
||||
|
||||
Known gaps, in dependency order:
|
||||
@@ -270,8 +270,11 @@ chosen fragments as hashed pages; ties go to the breakpoint closest to the page
|
||||
goal, so overfull pages take the least overfull break. `Document::h_offset` and
|
||||
`v_offset` feed the PDF writer's `pdf::PageOrigin`, which translates the page
|
||||
body without moving the sheet; a route-D integration fixture checks the shift
|
||||
with `pdftotext -bbox`, and the PDF endpoint reads leading `\hoffset`/`\voffset`
|
||||
dimension assignments from the source. Insertion classes are placed by the
|
||||
with `pdftotext -bbox`. `Document::paper_width`/`paper_height`
|
||||
(`\paperwidth`/`\paperheight`, default US Letter) set the MediaBox and preview
|
||||
page box, and the endpoints read leading
|
||||
`\hoffset`/`\voffset`/`\paperwidth`/`\paperheight` dimension assignments from
|
||||
the source. Insertion classes are placed by the
|
||||
paged builder with their limits and held-over material, and top floats are
|
||||
placed at the head of a fragment with `\textfloatsep` reserved above the body;
|
||||
bottom/in-text floats still fall back to the scrolling builder, which stays
|
||||
|
||||
Reference in new issue
Block a user