Subtitles: Scale shadowoffset and outlinesize according to zoom factor.

Cherry-picked from 38fc18b44.  Refs #11786.