mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-25 19:03:22 +00:00
M12: the XFA subform minH comment cites p. 847 and names the form it follows Acrobat on
Comment only; no behaviour change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pq7HyCfwzyRXj4VfQAVVdv
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
2b36cfebea
commit
76ba431dee
@@ -105,8 +105,9 @@ impl Layouter<'_> {
|
||||
content + c.margin.vertical()
|
||||
}
|
||||
};
|
||||
// A subform without a height is as tall as what it holds: other viewers do not stretch
|
||||
// one, flowed or positioned, to the `minH` a designer left on it.
|
||||
// A subform without a height is as tall as what it holds, flowed or positioned. XFA 3.3
|
||||
// p. 847 makes `minH` its minimum; Adobe Acrobat doesn't stretch one to it (IRCC's
|
||||
// IMM 5257: section 10 at `minH="58.274mm"`), and this follows Acrobat.
|
||||
let min_h = match node {
|
||||
Node::Subform(_) if c.h.is_none() => None,
|
||||
_ => c.min_h,
|
||||
|
||||
Reference in New Issue
Block a user