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/reel_writer.cc | |
| parent | 731eb4282fc1dd8e2ac054879db16647757a766a (diff) | |
Remove specification of italic/bold fonts (#1451); synthesis will be used instead.v2.13.110
Diffstat (limited to 'src/lib/reel_writer.cc')
| -rw-r--r-- | src/lib/reel_writer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/reel_writer.cc b/src/lib/reel_writer.cc index d699adfba..8ed085dbd 100644 --- a/src/lib/reel_writer.cc +++ b/src/lib/reel_writer.cc @@ -362,9 +362,9 @@ maybe_add_text ( liberation_normal = "/usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf"; } - /* Add all the fonts to the subtitle content */ + /* Add the font to the subtitle content */ BOOST_FOREACH (shared_ptr<Font> j, fonts) { - asset->add_font (j->id(), j->file(FontFiles::NORMAL).get_value_or(liberation_normal)); + asset->add_font (j->id(), j->file().get_value_or(liberation_normal)); } if (dynamic_pointer_cast<dcp::InteropSubtitleAsset> (asset)) { |
