From 274b62600711399af5145174b0d992dcce3fb961 Mon Sep 17 00:00:00 2001 From: oracola91 <118899664+oracola91@users.noreply.github.com> Date: Fri, 23 Oct 2026 20:16:37 +0300 Subject: [PATCH] Test: every link of the unsafe-link test sits on the slide The last links started below the 540 pt slide. They were still exported, as zero-height annotations at the page edge, so the test worked, but only because of that. With all 16 links on the slide the test no longer depends on how off-page links are handled. --- crates/pdf/src/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/pdf/src/tests.rs b/crates/pdf/src/tests.rs index 5f7d09f5..05609ce7 100644 --- a/crates/pdf/src/tests.rs +++ b/crates/pdf/src/tests.rs @@ -159,7 +159,7 @@ fn unsafe_url_links_are_not_exported() { .zip(safe.iter().chain(&refused)) .map(|(i, url)| Shape { id: ShapeId(9000 + i), - xfrm: Some(Xfrm::new(20.0, 20.0 + 38.0 * f64::from(i), 400.0, 30.0)), + xfrm: Some(Xfrm::new(20.0, 20.0 + 32.0 * f64::from(i), 400.0, 26.0)), click: Some(Hyperlink { action: Action::Url { url: url.to_string() }, tooltip: String::new(),