diff options
Diffstat (limited to 'src/lib/subtitle_content.cc')
| -rw-r--r-- | src/lib/subtitle_content.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/subtitle_content.cc b/src/lib/subtitle_content.cc index 2f4c88975..d779a7642 100644 --- a/src/lib/subtitle_content.cc +++ b/src/lib/subtitle_content.cc @@ -275,7 +275,9 @@ SubtitleContent::identifier () const types of subtitle content involve fonts. */ BOOST_FOREACH (shared_ptr<Font> f, _fonts) { - s << f->file().get_value_or ("Default"); + for (int i = 0; i < FontFiles::VARIANTS; ++i) { + s << "_" << f->file(static_cast<FontFiles::Variant>(i)).get_value_or ("Default"); + } } /* The language is for metadata only, and doesn't affect |
