View Bug Details

IDProjectCategoryView StatusLast Update
0001885DCP-o-maticBugspublic2021-02-03 23:11
Reportercarl Assigned Tocarl  
Status resolvedResolutionfixed 
Target Version2.16.0 
Summary0001885: Making Interop DCP from SMPTE does not correctly preserve fonts

Add a SMPTE DCP (with subs) to a DoM project, make an interop DCP, no font file is written and the references to fonts are screwed up.

TagsNo tags attached.
Estimated weeks required
Estimated work requiredSmall



2020-12-14 00:26

administrator   ~0004056

Last edited: 2020-12-14 00:28

View 2 revisions

DCPExaminer sees the existence of a MainSubtitle but does not read its font, so the TextContent in the DCPContent never gets details of the font. Complicated by the fact that dcpomatic::Font only refers to font data by filename, but for SMPTE content it will come in as a block of data from the MXF.

Perhaps dcpomatic::Font needs to have an optional dcp::ArrayData, then DCPExaminer can store dcpomatic::Fonts for the main subtitle and DCPContent::examine can copy these in.


2020-12-22 01:41

administrator   ~0004073


Bug History

Date Modified Username Field Change
2020-12-14 00:02 carl New Bug
2020-12-14 00:02 carl Assigned To => carl
2020-12-14 00:02 carl Status new => confirmed
2020-12-14 00:26 carl Note Added: 0004056
2020-12-14 00:28 carl Note Edited: 0004056 View Revisions
2020-12-14 00:29 carl Branch => 1885-fonts
2020-12-14 00:29 carl Estimated work required => Undecided
2020-12-14 00:29 carl Estimated work required Undecided => Small
2020-12-21 22:36 carl Branch 1885-fonts => extract-subs-from-dcp
2020-12-21 22:36 carl Tag Attached: ci
2020-12-22 01:41 carl Status confirmed => resolved
2020-12-22 01:41 carl Resolution open => fixed
2020-12-22 01:41 carl Note Added: 0004073
2021-02-03 23:11 carl Tag Detached: ci