The logical scale was previously not taken into account so the outline
rectangle was wrong and the padding was usually missing.
auto scale = 1 / dpi_scale_factor (_panel);
dc.SetLogicalScale (scale, scale);
- auto const panel_size = dcp::Size(_panel->GetSize().GetWidth(), _panel->GetSize().GetHeight());
+ auto const panel_size = dcp::Size(_panel->GetSize().GetWidth() / scale, _panel->GetSize().GetHeight() / scale);
auto pad = pad_colour();
dcp::Size out_size;