New document: pin the PDF check to the new craft-libs rev and require a Height caption

xtask's pdf-deps check still named rev a5669ed2 after the workspace moved
to 965c7bee, so it rejected the seven PDF packages. The layout test now
fails when no Height caption stands below Width, instead of passing on an
infinite gap.
This commit is contained in:
dotCooCoo committed 2026-11-30 21:46:03 -08:00
1 parent e1fb0cb6cd
commit 0e480bfde0
2 files changed
+2 -1

No files matched your search

@@ -1277,6 +1277,7 @@ mod tests {
captions.iter().filter(|(t, r)| t == text && f64::from(r.top()) >= y - 1.0).map(|(_, r)| f64::from(r.top())).fold(f64::INFINITY, f64::min)
};
let height_caption = caption_below("Height", width.y1);
assert!(height_caption.is_finite(), "no Height caption stands below the Width field {width:?}");
let gap = height_caption - width.y1;
assert!(gap + 0.5 >= f64::from(stack), "the Height caption stands {gap} below Width, at least the stack gap {stack}");
let bleed_caption = caption_below("Bleed", height.y1);
+1 -1
View File
@@ -5,7 +5,7 @@ use std::process::Command;
use serde_json::Value;
const REV: &str = "a5669ed2f1ba62545a1f0d884ecbd0fd0fbd06e0";
const REV: &str = "965c7beeb6076480e016e448bddddcce0a738ff6";
const PACKAGES: &[(&str, &str, &str)] = &[
("craft-pdf", "0.1.0", REV),
("krilla", "0.8.2", REV),