diff --git a/src/text/formatting/format.cpp b/src/text/formatting/format.cpp index 186e7e0b8..c54303bc3 100644 --- a/src/text/formatting/format.cpp +++ b/src/text/formatting/format.cpp @@ -45,7 +45,7 @@ void format_node::to_xml(ptree & xml) const if (line_spacing) serialize_property("line-spacing", *line_spacing, new_node); if (text_opacity) serialize_property("opacity", *text_opacity, new_node); if (wrap_before) serialize_property("wrap-before", *wrap_before, new_node); - if (repeat_wrap_char) serialize_property("repeat-wrap-char", *repeat_wrap_char, new_node); + if (repeat_wrap_char) serialize_property("repeat-wrap-character", *repeat_wrap_char, new_node); if (fill) serialize_property("fill", *fill, new_node); if (halo_fill) serialize_property("halo-fill", *halo_fill, new_node); if (halo_radius) serialize_property("halo-radius", *halo_radius, new_node); diff --git a/src/text/formatting/layout.cpp b/src/text/formatting/layout.cpp index 417c6bd97..c0becc0b1 100644 --- a/src/text/formatting/layout.cpp +++ b/src/text/formatting/layout.cpp @@ -51,7 +51,7 @@ void layout_node::to_xml(ptree &xml) const if (text_ratio) serialize_property("text-ratio", *text_ratio, new_node); if (wrap_width) serialize_property("wrap-width", *wrap_width, new_node); if (wrap_before) serialize_property("wrap-before", *wrap_before, new_node); - if (repeat_wrap_char) serialize_property("repeat-wrap-char", *repeat_wrap_char, new_node); + if (repeat_wrap_char) serialize_property("repeat-wrap-character", *repeat_wrap_char, new_node); if (rotate_displacement) serialize_property("rotate-displacement", *rotate_displacement, new_node); if (orientation) serialize_property("orientation", *orientation, new_node); if (halign) serialize_property("horizontal-alignment", *halign, new_node); @@ -72,7 +72,7 @@ node_ptr layout_node::from_xml(xml_node const& xml, fontset_map const& fontsets) if (xml.has_attribute("text-ratio")) set_property_from_xml(n->text_ratio, "text-ratio", xml); if (xml.has_attribute("wrap-width")) set_property_from_xml(n->wrap_width, "wrap-width", xml); if (xml.has_attribute("wrap-before")) set_property_from_xml(n->wrap_before, "wrap-before", xml); - if (xml.has_attribute("repeat-wrap-char")) set_property_from_xml(n->repeat_wrap_char, "repeat-wrap-char", xml); + if (xml.has_attribute("repeat-wrap-character")) set_property_from_xml(n->repeat_wrap_char, "repeat-wrap-character", xml); if (xml.has_attribute("rotate-displacement")) set_property_from_xml(n->rotate_displacement, "rotate-displacement", xml); if (xml.has_attribute("orientation")) set_property_from_xml(n->orientation, "orientation", xml); if (xml.has_attribute("horizontal-alignment")) set_property_from_xml(n->halign, "horizontal-alignment", xml); diff --git a/src/text/text_properties.cpp b/src/text/text_properties.cpp index 71dd496df..e9a6a2676 100644 --- a/src/text/text_properties.cpp +++ b/src/text/text_properties.cpp @@ -265,9 +265,9 @@ void text_layout_properties::from_xml(xml_node const &node, fontset_map const& f set_property_from_xml(dy, "dy", node); set_property_from_xml(text_ratio, "text-ratio", node); set_property_from_xml(wrap_width, "wrap-width", node); - set_property_from_xml(wrap_char, "wrap-char", node); + set_property_from_xml(wrap_char, "wrap-character", node); set_property_from_xml(wrap_before, "wrap-before", node); - set_property_from_xml(repeat_wrap_char, "repeat-wrap-char", node); + set_property_from_xml(repeat_wrap_char, "repeat-wrap-character", node); set_property_from_xml(rotate_displacement, "rotate-displacement", node); set_property_from_xml(orientation, "orientation", node); set_property_from_xml(valign, "vertical-alignment", node); @@ -286,9 +286,9 @@ void text_layout_properties::to_xml(boost::property_tree::ptree & node, if (!(jalign == dfl.jalign) || explicit_defaults) serialize_property("justify-alignment", jalign, node); if (!(text_ratio == dfl.text_ratio) || explicit_defaults) serialize_property("text-ratio", text_ratio, node); if (!(wrap_width == dfl.wrap_width) || explicit_defaults) serialize_property("wrap-width", wrap_width, node); - if (!(wrap_char == dfl.wrap_char) || explicit_defaults) serialize_property("wrap-char", wrap_char, node); + if (!(wrap_char == dfl.wrap_char) || explicit_defaults) serialize_property("wrap-character", wrap_char, node); if (!(wrap_before == dfl.wrap_before) || explicit_defaults) serialize_property("wrap-before", wrap_before, node); - if (!(repeat_wrap_char == dfl.repeat_wrap_char) || explicit_defaults) serialize_property("repeat-wrap-char", repeat_wrap_char, node); + if (!(repeat_wrap_char == dfl.repeat_wrap_char) || explicit_defaults) serialize_property("repeat-wrap-character", repeat_wrap_char, node); if (!(rotate_displacement == dfl.rotate_displacement) || explicit_defaults) serialize_property("rotate-displacement", rotate_displacement, node); if (!(orientation == dfl.orientation) || explicit_defaults) serialize_property("orientation", orientation, node);