Render ORCID markers as badge images

Replace the iD text marker after pagination with a generated 32x32 ORCID-green
badge containing a white iD glyph. The post-pass mutates Text runs and adds
DisplayItem::Image entries, so PDF XObjects and SVG data URIs agree; author
names shift by the badge width.

Test count is 1084.
This commit is contained in:
gloamxun committed 2026-10-28 09:11:31 +08:00
1 parent 35015853b4
commit c742e21a81
5 files changed
+118 -7

No files matched your search

+2 -2
View File
@@ -16,7 +16,7 @@ cargo test --workspace --offline
or run `./scripts/verify-route-d.sh`, which executes both.
The workspace currently passes **1083 tests**:
The workspace currently passes **1084 tests**:
| Suite | Tests |
| --- | --- |
@@ -29,7 +29,7 @@ The workspace currently passes **1083 tests**:
| engine/core unit | 4 + 1 |
Latest full run (web trial increment): `./scripts/verify-route-d.sh` passes
with fmt clean and **1083 tests** green.
with fmt clean and **1084 tests** green.
Latest live check (2026-10-27): the debug server served `examples/hello.tex`
from `target/debug/texrra serve`; `POST /preview` answered 200 with