Move some CPL writing from picture/sound assets to the MXF. Pick up key_id from...
[libdcp.git] / src / parse / subtitle.cc
index 471d62b724abab8237499f619191bdf61a0d6455..612af716b2f47b1b418cdffeda652fe66c713047 100644 (file)
@@ -36,7 +36,7 @@ Font::Font (shared_ptr<const cxml::Node> node)
        
        id = node->optional_string_attribute ("Id").get_value_or ("");
        size = node->optional_number_attribute<int64_t> ("Size").get_value_or (0);
-       italic = node->optional_bool_attribute ("Italic").get_value_or (false);
+       italic = node->optional_bool_attribute ("Italic");
        optional<string> c = node->optional_string_attribute ("Color");
        if (c) {
                color = Color (c.get ());