Shrink bundled font subsets with retained ids and kern

This commit is contained in:
gloamxun committed 2026-10-19 22:06:23 +08:00
1 parent ec45ce0694
commit aaa9dee477
14 files changed
+3 -3

No files matched your search

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -81,4 +81,4 @@ the requested size and an x offset.
Done: the paragraph now places against the full body goal and the title-note reserve is applied after it; `arxiv_fixture_is_three_letter_pages` asserts that page 1 contains the closing `See` line and keeps a 3 mm gap above the footnote.
- Fonts: reserved-glyph subsets are bundled for covered documents; exact per-document glyph subsetting remains a follow-up.
- Fonts: pyftsubset bundles with retained glyph ids and filtered kern table bring the arXiv PDF to about 1.8 MB; exact per-document glyph subsetting remains a follow-up.
+2 -2
View File
@@ -139,7 +139,7 @@ See `docs/ROADMAP.md` for concrete implementation plans.
- Compiler integration tests: 53; server tests: 4; total 57.
- `cargo fmt --check` passes.
- arXiv fixture: 3 Letter pages, ~2.6 MB; four serif faces and one monospace face embedded (bold/italic monospace falls back to the regular face).
- arXiv fixture: 3 Letter pages, ~1.8 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.
- Title/author/date/Introduction baselines within 0.3 pt of the XeLaTeX
reference; page 1 keeps the closing section-2 line above the footnote.
- Table 61.1 mm wide (reference 61.2 mm) with `\multicolumn` spans and
@@ -148,4 +148,4 @@ See `docs/ROADMAP.md` for concrete implementation plans.
- PDF link annotations are added by reopening the finished PDF with lopdf,
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 2.0 MB with 57 tests.
- Fonts: bundled reserved-glyph subsets in `assets/fonts-subset/` are used when the document charset is covered; arXiv PDF is about 1.8 MB with 57 tests.