Changed (frequent);
} else if (
- property == SubtitleContentProperty::LINE_SPACING
+ property == SubtitleContentProperty::LINE_SPACING ||
+ property == SubtitleContentProperty::Y_SCALE
) {
/* These changes just need the pieces' decoders to be reset.
property == SubtitleContentProperty::X_OFFSET ||
property == SubtitleContentProperty::Y_OFFSET ||
property == SubtitleContentProperty::X_SCALE ||
- property == SubtitleContentProperty::Y_SCALE ||
property == SubtitleContentProperty::FONTS ||
property == VideoContentProperty::CROP ||
property == VideoContentProperty::SCALE ||
/* This 1.015 is an arbitrary value to lift the bottom sub off the bottom
of the screen a bit to a pleasing degree.
*/
- v_position = 1.015 - (1 + bottom_line.get() - i.vertical_position.line.get())
- * 1.2 * content()->line_spacing() * j.font_size.proportional (72 * 11);
+ v_position = 1.015 -
+ (1 + bottom_line.get() - i.vertical_position.line.get())
+ * 1.2 * content()->line_spacing() * content()->y_scale() * j.font_size.proportional (72 * 11);
v_align = dcp::VALIGN_TOP;
} else {