Conflicts: main now measures word gaps between clusters (cluster_gap, cluster_text) and skips gaps next to whitespace; the PR's per-pair threshold is applied to that gap. Both Scratch additions are kept.
Review fixes folded in: a sub- or superscript pair keeps the line's word-gap threshold (pair_threshold), only other runs' ink drops a blank (drop_covered_blanks), and the covered-blank test uses vec![] for clippy. Tests for both fixes.
follows() allowed half the smaller glyph's height off the line, where arrange
joins a sub- or superscript right next to its glyph within half the taller one's.
A glyph followed by its superscript then looked like a run end, and a later run
starting at its place lost that glyph.
- The grid search around a glyph spans the larger of its horizontal and vertical
redraw tolerances, so a tall, narrow glyph redrawn a little higher is found.
- The near check also compares the last kept glyph, so a fifth or later copy in a
row (past the four-glyph window, and skipped by the far check as it follows that
glyph) is dropped.
- Each kept glyph records the kept glyph after it when that one is kept, instead of
rescanning the dropped glyphs in between for every candidate (quadratic on long
runs of dropped copies).
With marks, a page the marks would widen past 14,400 pt was refused only after the
document's Will Print actions ran, so their field change stayed behind a print that
failed. Session::check_printer_marks runs the mark editor on a scratch copy first;
doc_print calls it before Will Print, and the print still adds the marks after it.
Main's egui::ComboBox ban and this PR's rsa private-key types each opened a
disallowed-types array; TOML forbids the duplicate key, so clippy couldn't
load the file. Both lists are now one array.
Text rendering mode 3 hides the text a Form shows, not its paths and images,
so a Form XObject after Tr 3 can still paint over or under the image. Counting
it as no paint refused moves that change what is visible. The unit test now
checks that such a Form counts.
#7818 added heading_levels building autotag_roles::Evidence field by field;
#7810 (merged just before) gave Evidence the text and extent fields, so main
no longer compiles (E0063). Blocks carry neither, so they take the defaults.