fix round tripping of max-char-angle-delta value

This commit is contained in:
Dane Springmeyer 2014-02-10 19:37:40 -08:00
parent 5b286da889
commit 1c30683f23

View file

@ -283,7 +283,7 @@ void text_symbolizer_properties::to_xml(boost::property_tree::ptree &node,
}
if (max_char_angle_delta != dfl.max_char_angle_delta || explicit_defaults)
{
set_attr(node, "max-char-angle-delta", max_char_angle_delta);
set_attr(node, "max-char-angle-delta", max_char_angle_delta/(M_PI/180));
}
if (halign != dfl.halign || explicit_defaults)
{