Use Times metrics for bold and italic text

Add ptmb8t/ptmri8t/ptmbi8t metrics and TimesBold/TimesItalic/TimesBoldItalic
paragraph faces. A ptm document now maps Roman, bold, italic and bold-italic
base faces to the Times family, so headings and emphasised runs use Times
widths while the PDF backend continues to embed Liberation Serif.

The arXiv output is unchanged at 3 pages; previews measured 12.5-17.5 ms warm
and 191 ms cold. Test count is 1076.
This commit is contained in:
gloamxun committed 2026-10-28 00:08:19 +08:00
1 parent e9bbd4bd87
commit fd9ee0740b
12 files changed
+100 -18

No files matched your search

+3 -3
View File
@@ -16,11 +16,11 @@ cargo test --workspace --offline
or run `./scripts/verify-route-d.sh`, which executes both.
The workspace currently passes **1075 tests**:
The workspace currently passes **1076 tests**:
| Suite | Tests |
| --- | --- |
| route-D unit (engine) | 446 |
| route-D unit (engine) | 447 |
| engine binary unit | 434 |
| server integration | 67 |
| v1 integration | 71 |
@@ -29,7 +29,7 @@ The workspace currently passes **1075 tests**:
| engine/core unit | 4 + 1 |
Latest full run (web trial increment): `./scripts/verify-route-d.sh` passes
with fmt clean and **1075 tests** green.
with fmt clean and **1076 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