outputSize

open override val outputSize: VideoSize?

The canvas's backing store, in device pixels: the size setViewport set, or the canvas's own size before that. The engine lays subtitles out for it, so text lands in the bars and at the canvas's own pixel size (docs/subtitle-placement.md, rule 2).