Try removing the DCI companding from the xyz->rgb conversion.
[libdcp.git] / src / subtitle_asset.cc
index 9ba85a43b143fa54e17c952ed6f413dcb75ff5a6..ba91cf9028932117953a9137099434ff36821fa5 100644 (file)
@@ -413,7 +413,7 @@ SubtitleAsset::write_xml (ostream& s) const
          << "  <Language>" << _language << "</Language>\n";
 
        if (_load_font_nodes.size() > 1) {
-               throw MiscError ("multiple LoadFont nodes not supported");
+               boost::throw_exception (MiscError ("multiple LoadFont nodes not supported"));
        }
 
        if (!_load_font_nodes.empty ()) {
@@ -469,7 +469,7 @@ SubtitleAsset::write_xml (ostream& s) const
                        a << "Script=\"normal\" Underlined=\"no\" Weight=\"normal\"";
                }
 
-               if (first ||
+               if (first || font_changed ||
                    (last_in != (*i)->in() ||
                     last_out != (*i)->out() ||
                     last_fade_up_time != (*i)->fade_up_time() ||