Files
craft-libs/crates
Bra1nZ 82e3341018 fix(print): match the requested paper identity among partial records and resolve parameter references
Two review findings on #1225:

A partial paper record was accepted as a candidate of last resort on its
known side alone, so a partial Letter and a partial Legal sharing a
width both agreed with a Legal request and the first one in the driver's
order won - the ticket could select Letter while the layout assumed
Legal. Partial candidates now resolve ambiguity the way full ones do:
one whose name matches the requested standard sheet wins; an ambiguity
that leaves more than one (or none) is not resolved and nothing is
selected.

integer() read only a direct Value, so a paper dimension supplied
through a ParameterRef read as missing and the fallback silently
substituted the requested size for a ticket that named a different one.
The resolution logic the driver's ticket reader already had moves into a
shared resolved_value() helper, and integer() uses it: a referenced
dimension now either agrees or refuses.
2026-11-14 12:55:59 +03:00
..
2026-11-13 07:50:09 -05:00
2026-11-13 01:31:26 -05:00
2026-11-13 07:34:28 +01:00
2026-11-13 07:50:09 -05:00
2026-11-13 07:50:09 -05:00