View Bug Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002556 | DCP-o-matic | Bugs | public | 2023-06-09 01:50 | 2023-12-31 19:37 |
Reporter | overlookmotel | Assigned To | carl | ||
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | confirmed | Resolution | open | ||
Platform | Mac | OS | OS X | OS Version | 10.14 |
Product Version | 2.16.57 | ||||
Target Version | 2.16.x | ||||
Summary | 0002556: Subtitles rendering off-centre horizontally from XML source | ||||
Description | DCP-o-matic 2.16.59. While trying to burn in soft subtitles from a DCP, they are being rendered off-centre horizontally. This is the case both in the preview in DOM GUI, and the output DCP. The same operation in DOM 2.14.54 renders the subs centred. Also the original DCP viewed in Easy DCP Player also shows the subtitles centred. Images below showing all 3. Side issue: DOM also doesn't seem to use the font specified in the DCP for italicised text (Arial bold), though it does for non-italics. This can be seen by comparing to EasyDCP Player's rendering. | ||||
Steps To Reproduce | Can be reproduced with just the captions XML file, extracted from the original DCP. I'll email that XML to you Carl. | ||||
Tags | No tags attached. | ||||
Branch | 2556-subtitles-with-spaces | ||||
Estimated weeks required | |||||
Estimated work required | Undecided | ||||
|
|
|
I think this because DoM is rendering all the space inside the <Text> tag literally - perhaps it should collapse it, but I can't find a reference for that... |
|
I found this in the 2014 subtitle standard: "All space characters present inside the content of a Text element shall be rendered, even when located |
|
I moved the "side issue" into 0002557 as it's easy to miss stuff like that. |
|
Confirmed, that does seem to be what it is. The subtitles XML in my example puts The subtitle before the one pictured is not italicised and so does not have any excess space within the But... There's also excess space after the closing tag of the So I am wondering if DCP-o-matic is correctly taking into account excess space at the start of This DCP was made with easyDCP Creator+ 3.7.6. So, even if the real fault is with the DCP, probably there's lots more like this out there. Sorry, I would include XML extracts which would make this easier to describe, but I know that Mantis renders them incorrectly. |
|
It's a good point. It looks like something weird is going on with subtitle spacing when there is a combination of newlines and spaces within the text. |
|
My suspicion is that it's ignoring spaces which are "outside" of a line break. i.e. In the case above, the problem is that the excess space is after the line breaks on both sides, so only the spacing before the subtitle text is included and it shifts the subtitle right. It may be that DOM's interpretation of spacing is perfectly correct and the fault is with the original DCP, in which case this should likely be closed without any action. However, if the space "outside" the line breaks should be included according to the spec, that'd make the subs render (almost) centred in this case. |
|
Mantis removed some of the spaces from my example above. Let me try again:
|
|
I think you're right, there's more to do here... |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-06-09 01:50 | overlookmotel | New Bug | |
2023-06-09 01:50 | overlookmotel | File Added: off-centre sub DOM 2.16.59.png | |
2023-06-09 01:50 | overlookmotel | File Added: off-centre sub DOM 2.14.54.png | |
2023-06-09 01:50 | overlookmotel | File Added: off-centre sub Easy DCP Player.png | |
2023-06-09 09:16 | carl | Severity | minor => major |
2023-06-09 09:16 | carl | Estimated work required | => Undecided |
2023-06-09 09:17 | carl | Target Version | => 2.16.60 |
2023-06-09 14:17 | carl | Note Added: 0005742 | |
2023-06-09 14:17 | carl | Assigned To | => carl |
2023-06-09 14:17 | carl | Status | new => confirmed |
2023-06-09 14:19 | carl | Note Added: 0005743 | |
2023-06-09 14:20 | carl | Status | confirmed => acknowledged |
2023-06-09 14:22 | carl | Relationship added | related to 0002557 |
2023-06-09 14:23 | carl | Note Added: 0005744 | |
2023-06-09 15:25 | overlookmotel | Note Added: 0005746 | |
2023-06-10 23:09 | carl | Note Added: 0005753 | |
2023-06-10 23:10 | carl | Status | acknowledged => confirmed |
2023-06-16 23:04 | carl | Branch | => 2556-subtitles-with-spaces |
2023-06-21 20:48 | carl | Target Version | 2.16.60 => 2.16.x |
2023-09-01 15:59 | carl | Target Version | 2.16.x => 2.16.64 |
2023-09-01 19:48 | carl | Relationship added | related to 0002341 |
2023-09-04 11:10 | overlookmotel | Note Added: 0005922 | |
2023-09-04 11:12 | overlookmotel | Note Added: 0005923 | |
2023-09-05 22:51 | carl | Note Added: 0005933 | |
2023-09-13 22:34 | carl | Target Version | 2.16.64 => 2.16.65 |
2023-09-21 00:08 | carl | Target Version | 2.16.65 => 2.16.66 |
2023-10-15 08:25 | carl | Target Version | 2.16.66 => 2.16.67 |
2023-11-19 21:38 | carl | Target Version | 2.16.67 => 2.16.68 |
2023-11-24 12:24 | carl | Target Version | 2.16.68 => 2.16.69 |
2023-11-27 21:30 | carl | Target Version | 2.16.69 => 2.16.70 |
2023-12-02 19:58 | carl | Target Version | 2.16.70 => 2.16.71 |
2023-12-31 19:37 | carl | Target Version | 2.16.71 => 2.16.x |