Record the accent ordering and current test baseline

This commit is contained in:
gloamxun committed 2026-10-20 01:47:18 +08:00
1 parent d55f4e4059
commit 1e7cfd2c85
2 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -481,7 +481,7 @@ the face used to draw each glyph provides it; missing tables and compound
expressions keep the default script placement. PDF and SVG share the resulting
positions. `\\hat`, `\\widehat`, `\\tilde`, `\\widetilde`, `\\overbrace`,
and `\\underbrace` use horizontal MATH variants and assemblies when available,
with the same accent bitmap in both outputs.
with the same accent bitmap in both outputs. Bitmap accents are painted before the base glyph so their opaque background cannot clip the nucleus.
`matrix`, `pmatrix`, `bmatrix`,
`Bmatrix`, `vmatrix`, `Vmatrix`, `cases`, `aligned`, `gathered`, `multline`, and
`array` environments build a two-dimensional math grid. Matrix delimiters are
@@ -527,7 +527,7 @@ advisory breaks, starred `\vspace`/`\hspace`, `center`, `\hrule`, `\fbox`,
## New-template compatibility
The SIVP class (`sn-jnl.cls`) loads completely and `sn-article.tex` previews and exports a 16-page PDF; the Huawei E fragment (`projects/e/问题一.tex`) compiles to 16 A4 pages. This required generic TeX conditionals (`\if`, `\ifx`), `\newcount`/`\newdimen`, `\char`, 64-bit dimension scanning, `tabular*`/`tabularx` environments, and the math accent/operator/arrow vocabulary used by both documents. Both are covered by integration tests.
The SIVP class (`sn-jnl.cls`) loads completely and `sn-article.tex` previews and exports a 17-page PDF; the Huawei E fragment (`projects/e/问题一.tex`) compiles to 16 A4 pages. This required generic TeX conditionals (`\if`, `\ifx`), `\newcount`/`\newdimen`, `\char`, 64-bit dimension scanning, `tabular*`/`tabularx` environments, and the math accent/operator/arrow vocabulary used by both documents. Both are covered by integration tests.
## Capability matrix (current)
+3 -3
View File
@@ -129,8 +129,8 @@ 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` (72 tests: 68 compiler
integration tests + 4 server tests) covers the three examples, the arXiv
- `cargo fmt --check` passes; `cargo test --offline` (77 tests: 69 compiler
integration tests + 4 server tests + 4 unit 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
`/texrra` endpoint, and page-hash cache stability.
@@ -138,7 +138,7 @@ See `docs/ROADMAP.md` for concrete implementation plans.
## Verification snapshot
- Compiler integration tests: 67; server tests: 4; total 71.
- Compiler integration tests: 69; server tests: 4; unit tests: 4; total 77.
- `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