+ snprintf (buffer, sizeof(buffer), _("\nDisplay aspect ratio %.2f:1"), ratio);
+ d += buffer;
+ }
+
+ if ((crop().left || crop().right || crop().top || crop().bottom) && size() != dcp::Size (0, 0)) {
+ dcp::Size cropped = size_after_crop ();
+ d += String::compose (
+ _("\nCropped to %1x%2"),
+ cropped.width, cropped.height
+ );
+
+ snprintf (buffer, sizeof(buffer), " (%.2f:1)", cropped.ratio());
+ d += buffer;
+ }
+
+ dcp::Size const container_size = film->frame_size ();
+ dcp::Size const scaled = scaled_size (container_size);
+
+ if (scaled != size_after_crop ()) {
+ d += String::compose (
+ _("\nScaled to %1x%2"),
+ scaled.width, scaled.height
+ );
+
+ snprintf (buffer, sizeof(buffer), _(" (%.2f:1)"), scaled.ratio());
+ d += buffer;
+ }
+
+ if (scaled != container_size) {
+ d += String::compose (
+ _("\nPadded with black to fit container %1 (%2x%3)"),
+ film->container()->container_nickname (),
+ container_size.width, container_size.height
+ );
+
+ snprintf (buffer, sizeof(buffer), _(" (%.2f:1)"), container_size.ratio());
+ d += buffer;