Embed text fonts and fix preview table rule coordinates
This commit is contained in:
1 parent
b119c57e8e
commit
2856506d65
6 files changed
+37
-35
No files matched your search
+3
-2
@@ -18,8 +18,9 @@ author-year citations and plainnat bibliography formatting with duplicate-year
|
||||
`2014a`/`2014b` suffixes; hyperref-style green `\href`/`\url`/citation text;
|
||||
`\vbox`/`\vtop` vertical-material capture with inline splicing
|
||||
(`build_positioned_pages` is the only page builder and no separate break
|
||||
planner remains); conditional Base-14 font embedding and natural-width centered
|
||||
table layout; `\multicolumn` column spans with alignment and partial
|
||||
planner remains); embedded Liberation fonts (no Base-14 dependency on the
|
||||
reader) and natural-width centered table layout with preview/PDF coordinate
|
||||
parity; `\multicolumn` column spans with alignment and partial
|
||||
`\cmidrule(r){a-b}`/`\cline{a-b}` rules; footnote capture in figure/table
|
||||
captions with the insertion area reserved on the caption page.
|
||||
|
||||
|
||||
+7
-5
@@ -120,9 +120,10 @@ See `docs/ROADMAP.md` for concrete implementation plans.
|
||||
|
||||
- `examples/hello.tex`, `examples/boxes.tex`, `examples/compat.tex` compile to
|
||||
one A4 page each; the arXiv template project compiles to 3 Letter pages.
|
||||
- ASCII-only documents use non-embedded Base-14 Times/Courier (arXiv PDF is
|
||||
about 0.7 MB); documents with accented/non-WinAnsi text embed Liberation
|
||||
faces. Tables use natural column widths and centered rules.
|
||||
- All text faces are embedded Liberation Serif/Mono/Sans (arXiv PDF is about
|
||||
3.6 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` (53 tests: 49 compiler
|
||||
integration tests + 4 server tests) covers the three examples, the arXiv
|
||||
fixture, figure/table floats (top and bottom), newpage, page styles and `\thispagestyle`, SVG/PDF output,
|
||||
@@ -134,10 +135,11 @@ See `docs/ROADMAP.md` for concrete implementation plans.
|
||||
|
||||
- Compiler integration tests: 49; server tests: 4; total 53.
|
||||
- `cargo fmt --check` passes.
|
||||
- arXiv fixture: 3 Letter pages, ~701 KB, Base-14 Times/Courier only.
|
||||
- arXiv fixture: 3 Letter pages, ~3.6 MB, embedded Liberation faces only.
|
||||
- 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.6 mm wide (reference 61.2 mm) with `\multicolumn` spans and
|
||||
partial `\cmidrule` rules.
|
||||
partial `\cmidrule` rules; table rules in the SVG preview use absolute page
|
||||
coordinates, matching the PDF.
|
||||
- Remaining blocker: PDF link annotations (`/Annots`); printpdf 0.3.4 has
|
||||
no annotation API, so clickable `\href`/`\url` need a writer extension.
|
||||
Reference in new issue
Block a user