Page 1 of 1

Italic Subtitles getting Croped?

Posted: Fri Nov 18, 2022 9:52 am
by Anton
Dear Forum.

I wanted to add german Subs in srt format.

Surprisingly the Subtitles get crop sometimes.

Only when the Subttiles are italic.

Has anyone an idea how I could fix that?

I already changed the size to 77% but this did not affect te croping.


Thanks in advance
Anton

Re: Italic Subtitles getting Croped?

Posted: Fri Nov 18, 2022 10:02 am
by carl
Hi,
Perhaps you could attach the .srt file (or email it to carl@dcpomatic.com) and tell us what version of DCP-o-matic you are using and on what operating system (windows/mac/linux)?

Re: Italic Subtitles getting Croped?

Posted: Fri Nov 18, 2022 11:36 pm
by Carsten
Certainly some kind of a display bug. But: Are you using these as timed text, or do you burn in? Because, as timed text, the projecor or server will render the subtitles and the cropping will (most likely) not occur.

That screenshot is from DCP-o-matic main, DCP-o-matic player, or...?

Re: Italic Subtitles getting Croped?

Posted: Sat Nov 19, 2022 5:20 pm
by Ron
Just curious...

Are you just using Italics formatting using the codes: <i> </i> and nothing else?

I really don't see how that would change the relative size. An SRT is a passive text file and as mentioned above it's the system that renders the SRT subtitles onscreen.

Re: Italic Subtitles getting Croped?

Posted: Sat Nov 19, 2022 11:26 pm
by Carsten
I tried to reproduce it with 2.16.32, and it looks okay in preview:
Bildschirmfoto 2022-11-20 um 00.22.02.png
(there is no space after the 't'. The SRT file has: <i>- lorem ipsum dolor sit amet</i>)


DCP-o-matic player displays both timed text as well as burn-in okay.

Re: Italic Subtitles getting Croped?

Posted: Sun Nov 20, 2022 2:36 am
by HaroldHallikainen
SMPTE ST 428-7 says to convert to italic by skewing the string to the right (I think it is 7 degrees). In tests, most, if not all, systems skewed the string about the horizontal baseline. Ascenders will move to the right and descenders will move to the left making the string slightly longer.

Harold