Record geometry text support and the latest test count

This commit is contained in:
gloamxun committed 2026-10-20 00:35:12 +08:00
1 parent 5862664c76
commit ac3e42a201
1 file changed
+3 -3
+3 -3
View File
@@ -126,7 +126,7 @@ See `docs/ROADMAP.md` for concrete implementation plans.
0.29 MB and `pdffonts` reports only embedded CID TrueType faces); this avoids
viewer-dependent glyph substitution. Tables use natural column widths and
centered rules; preview and PDF share the same table line coordinates.
- `cargo fmt --check` passes; `cargo test --offline` (70 tests: 66 compiler
- `cargo fmt --check` passes; `cargo test --offline` (71 tests: 67 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
@@ -135,7 +135,7 @@ See `docs/ROADMAP.md` for concrete implementation plans.
## Verification snapshot
- Compiler integration tests: 66; server tests: 4; total 70.
- Compiler integration tests: 67; server tests: 4; total 71.
- `cargo fmt --check` passes.
- arXiv fixture: 3 Letter pages, ~0.29 MB; four serif faces and one monospace face embedded (bold/italic monospace falls back to the regular face). The bundled SubsetTTF faces are pyftsubset outputs with retained glyph ids and a filtered legacy kern table; a third 110-glyph ASCII/typographic tier is selected when the document charset fits.
- Title/author/date/Introduction baselines within 0.3 pt of the XeLaTeX
@@ -147,4 +147,4 @@ See `docs/ROADMAP.md` for concrete implementation plans.
since printpdf 0.3.4 has no annotation API.
- Fonts: bundled reserved-glyph subsets in `assets/fonts-subset/` are used when the document charset is covered; arXiv PDF is about 0.29 MB.
- New-template compatibility: the SIVP class file loads fully and `sn-article.tex` exports a 12-page PDF (live preview falls back on unsupported layout features); the Huawei E fragment compiles to 16 A4 pages. Generic support added for TeX `\if`/`\ifx`, `\newcount`, `\newdimen`, `\char`, `tabular*`/`tabularx`, math accents/operators/arrows, and a 64-bit dimension scanner. Both fixtures are regression tests (`sivp_project_exports_a_pdf`, `e_fixture_compiles`).
- New-template compatibility: the SIVP class file loads fully and `sn-article.tex` exports a 12-page PDF (live preview falls back on unsupported layout features); the Huawei E fragment compiles to 16 A4 pages. Generic support added for TeX `\if`/`\ifx`, `\newcount`, `\newdimen`, `\char`, `tabular*`/`tabularx`, math accents/operators/arrows, a 64-bit dimension scanner, and `geometry` `text={width,height}` blocks. Both fixtures are regression tests (`sivp_project_exports_a_pdf`, `e_fixture_compiles`).