diff --git a/crates/redact/src/interp.rs b/crates/redact/src/interp.rs index 9b0dc842cb..ce2f608b40 100644 --- a/crates/redact/src/interp.rs +++ b/crates/redact/src/interp.rs @@ -696,11 +696,11 @@ fn show(scope: &Scope<'_>, gs: &Gs, tm: &mut Matrix, items: &[Object]) -> (Vec, gs: &Gs, tm: &mut Matrix, items: &[Object]) -> (Vec scope.glyph_hit(b, origin), + // (the metrics box is a second test: the union's overlap threshold is wider than a narrow glyph's own) + None => scope.glyph_hit(b, origin) || scope.glyph_hit(metrics, origin), }; glyphs.push(Glyph { bytes: pos..pos + len, advance, hit }); *tm = Matrix::translate(advance * gs.scale, 0.0).then(tm);