diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-01-27 00:25:40 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-01-27 00:25:40 +0000 |
| commit | f77ec143719c86ddbf098bff6d19fe2a159b8c3e (patch) | |
| tree | 0eef7caeaff253a5d6b4c8f65cb5a0fc327d2f7c /src/lib/text_content.cc | |
| parent | 731eb4282fc1dd8e2ac054879db16647757a766a (diff) | |
Remove specification of italic/bold fonts (#1451); synthesis will be used instead.v2.13.110
Diffstat (limited to 'src/lib/text_content.cc')
| -rw-r--r-- | src/lib/text_content.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/text_content.cc b/src/lib/text_content.cc index ac49be474..e2f5264df 100644 --- a/src/lib/text_content.cc +++ b/src/lib/text_content.cc @@ -405,9 +405,7 @@ TextContent::identifier () const types of subtitle content involve fonts. */ BOOST_FOREACH (shared_ptr<Font> f, _fonts) { - for (int i = 0; i < FontFiles::VARIANTS; ++i) { - s += "_" + f->file(static_cast<FontFiles::Variant>(i)).get_value_or("Default").string(); - } + s += "_" + f->file().get_value_or("Default").string(); } /* The DCP track and language are for metadata only, and don't affect |
