Always add a font with an empty ID (#2649).
authorCarl Hetherington <cth@carlh.net>
Fri, 10 Nov 2023 22:51:46 +0000 (23:51 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 16 Nov 2023 23:24:35 +0000 (00:24 +0100)
commit2603a529a05905f133bd52271fb1298e9a4a4aa5
treea5228a95d93ca9d077e37c41a88c919086bf263a
parent7a877ff976b119a39797c1f6e8477b92dfbb30ca
Always add a font with an empty ID (#2649).

It's not just subtitle files with no <LoadFont> that can have
subtitles without a specified font.  In particular, DoM makes a
single space subtitle with no font spec when it creates filler
subtitles in multi-reel DCPs.
src/lib/dcp_examiner.cc
src/lib/dcp_subtitle_content.cc
src/lib/font_id_allocator.cc
test/subtitle_font_id_test.cc