From c383f1bf2c14b7c7cfbf07399a4d90c99fc31c4c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 26 Jun 2015 19:32:47 +0100 Subject: Fonts change appearance of subtitles if they are burnt in. --- src/lib/subtitle_content.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/lib') diff --git a/src/lib/subtitle_content.cc b/src/lib/subtitle_content.cc index a10e23caf..29c610d83 100644 --- a/src/lib/subtitle_content.cc +++ b/src/lib/subtitle_content.cc @@ -268,6 +268,13 @@ SubtitleContent::identifier () const << "_" << raw_convert (subtitle_x_offset()) << "_" << raw_convert (subtitle_y_offset()); + /* XXX: I suppose really _fonts shouldn't be in here, since not all + types of subtitle content involve fonts. + */ + BOOST_FOREACH (shared_ptr f, _fonts) { + s << f->file().get_value_or ("Default"); + } + /* The language is for metadata only, and doesn't affect how this content looks. */ -- cgit v1.2.3