View Issue Details

IDProjectCategoryView StatusLast Update
0002341DCP-o-maticFeaturespublic2022-09-28 23:55
Reportertomashnyk@gmail.com Assigned To 
PriorityhighSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Platform64-bitOSLinuxOS VersionUbuntu
Product Version2.16.26 
Target Version2.16.x 
Summary0002341: DOM misinterprets newlines in subtitle elements.
Description

This subtitled is displayed as three lines.
<Subtitle SpotNumber="19" FadeUpTime="0" FadeDownTime="0" TimeIn="00:04:13:141" TimeOut="00:04:16:065">
<Text VPosition="14" VAlign="bottom" HAlign="center" Direction="horizontal">–These are two lines. </Text>
<Text VPosition="8" VAlign="bottom" HAlign="center" Direction="horizontal">

<Font Weight="bold"> But DOM sees and displayes it as three.</Font>
</Text>
</Subtitle>

When changed to this:

<Subtitle SpotNumber="19" FadeUpTime="0" FadeDownTime="0" TimeIn="00:04:13:141" TimeOut="00:04:16:065">
<Text VPosition="14" VAlign="bottom" HAlign="center" Direction="horizontal">–These are two lines. </Text>
<Text VPosition="8" VAlign="bottom" HAlign="center" Direction="horizontal">
–<Font Weight="bold"> But DOM sees and displayes it as three.</Font>
</Text>
</Subtitle>
it is displayed as two lines. I think this is incorrect, as per specification:

"Multiple lines of text should be handled by multiple Text elements." (section 2.10 here: http://www.deluxecdn.com/dcinema/reference/ti_subtitling_spec_v1_1.pdf )

There are two possible solutions:
a) Throw an error "newline in Text element deceted" or something like that.
b) Swalow newlines when consuming text elements.

I am not sure this is precisely what happens. When playing around with the XML, inserting newlines here and there, IC ould not for example produce a 4line subtitle. Also, the text "At least one of your subtitles has more than 3 lines. It is advisable to use no more than 3 lines." when running checke before DCP creation got displayed only sometimes.

TagsNo tags attached.
Branch
Estimated weeks required
Estimated work requiredUndecided

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2022-09-25 13:24 tomashnyk@gmail.com New Issue
2022-09-25 20:13 carl Status new => acknowledged
2022-09-25 20:13 carl Target Version => 2.16.28
2022-09-25 20:13 carl Estimated work required => Undecided
2022-09-25 20:15 carl Target Version 2.16.28 => 2.16.x
2022-09-28 23:55 carl Priority normal => high