fix spelling of opacity in text/formatting - refs #1470
This commit is contained in:
parent
28063e28aa
commit
b385370126
2 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ node_ptr expression_format::from_xml(xml_node const& xml)
|
|||
n->text_size = get_expression(xml, "size");
|
||||
n->character_spacing = get_expression(xml, "character-spacing");
|
||||
n->line_spacing = get_expression(xml, "line-spacing");
|
||||
n->text_opacity = get_expression(xml, "opactity");
|
||||
n->text_opacity = get_expression(xml, "opacity");
|
||||
n->wrap_before = get_expression(xml, "wrap-before");
|
||||
n->wrap_char = get_expression(xml, "wrap-character");
|
||||
n->fill = get_expression(xml, "fill");
|
||||
|
|
|
@ -62,7 +62,7 @@ node_ptr format_node::from_xml(xml_node const& xml)
|
|||
n->text_size = xml.get_opt_attr<unsigned>("size");
|
||||
n->character_spacing = xml.get_opt_attr<unsigned>("character-spacing");
|
||||
n->line_spacing = xml.get_opt_attr<unsigned>("line-spacing");
|
||||
n->text_opacity = xml.get_opt_attr<double>("opactity");
|
||||
n->text_opacity = xml.get_opt_attr<double>("opacity");
|
||||
boost::optional<boolean> wrap = xml.get_opt_attr<boolean>("wrap-before");
|
||||
if (wrap) n->wrap_before = *wrap;
|
||||
n->wrap_char = xml.get_opt_attr<unsigned>("wrap-character");
|
||||
|
|
Loading…
Reference in a new issue