From 1e7cfd2c8506529059cd723506f83f30e4439df2 Mon Sep 17 00:00:00 2001 From: GloamXun Date: Tue, 20 Oct 2026 01:47:18 +0800 Subject: [PATCH] Record the accent ordering and current test baseline --- README.md | 4 ++-- docs/STATUS.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f770f8d..c7ccbc5 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/docs/STATUS.md b/docs/STATUS.md index b61d359..9d7b74c 100644 --- a/docs/STATUS.md +++ b/docs/STATUS.md @@ -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