View Bug Details

IDProjectCategoryView StatusLast Update
0001885DCP-o-maticBugspublic2023-09-01 21:49
Reportercarl Assigned Tocarl  
PriorityimmediateSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Target Version2.16.0 
Summary0001885: Making Interop DCP from SMPTE does not correctly preserve fonts
Description

https://dcpomatic.com/forum/viewtopic.php?f=2&p=7128

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.
Branchextract-subs-from-dcp
Estimated weeks required
Estimated work requiredSmall

Activities

carl

2020-12-14 00:26

administrator   ~0004056

Last edited: 2020-12-14 00:28

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.

carl

2020-12-22 01:41

administrator   ~0004073

ddcd4f3ba0af3e9d49dbb68127317cd0d871a248

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
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
2023-09-01 21:49 carl Status resolved => closed