Use Base-14 fonts when possible and center natural-width tables

This commit is contained in:
gloamxun committed 2026-10-19 17:40:04 +08:00
1 parent 1da9e0dde9
commit ca5cb0b8af
8 files changed
+295 -35

No files matched your search

+2 -1
View File
@@ -17,7 +17,8 @@ abstract quotation formatting, unnumbered `\paragraph` headings, natbib-style
author-year citations and plainnat bibliography formatting;
`\vbox`/`\vtop` vertical-material capture with inline splicing
(`build_positioned_pages` is the only page builder and no separate break
planner remains).
planner remains); conditional Base-14 font embedding and natural-width centered
table layout.
## 1. Float tuning and table queue
+4 -1
View File
@@ -101,7 +101,10 @@ See `docs/ROADMAP.md` for concrete implementation plans.
- `examples/hello.tex`, `examples/boxes.tex`, `examples/compat.tex` compile to
one A4 page each; the arXiv template project compiles to 3 Letter pages.
- `cargo fmt --check` passes; `cargo test --offline` (45 tests: 41 compiler
- ASCII-only documents use non-embedded Base-14 Times/Courier (arXiv PDF is
about 0.7 MB); documents with accented/non-WinAnsi text embed Liberation
faces. Tables use natural column widths and centered rules.
- `cargo fmt --check` passes; `cargo test --offline` (47 tests: 43 compiler
integration tests + 4 server tests) covers the three examples, the arXiv
fixture, figure/table floats (top and bottom), newpage, page styles and `\thispagestyle`, SVG/PDF output,
project API, static frontend assets, path traversal, the legacy