We don't parse this properly yet, but we will. This bug was found in
testing (with commits further down the branch) but I have rebased it
next to the code that introduces the bug.
Also explain that the weird scaling in GroupData only happens in mf1.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
#[derive(Debug,Deserialize)]
pub struct GroupDetails {
#[cfg(doc)] inherit: String, // handled specially
- pub size: Vec<f64>, // scaled when put into GroupData
+ #[serde(default)] pub size: Vec<f64>, // scaled in GroupData in mf1
#[serde(default)] pub orig_size: Vec<f64>,
#[serde(default)] pub centre: Option<[f64; 2]>,
#[serde(default)] pub flip: bool,