Commit cc76837b authored by Thomas Holder's avatar Thomas Holder

Fix writing of icc-color

Fixes #1577

(cherry-picked from master fc9928ab)
parent 4777040e
Pipeline #156093732 passed with stages
in 88 minutes and 30 seconds
......@@ -1611,7 +1611,7 @@ const Glib::ustring SPIPaint::get_value() const
ret += color_buf;
}
if (this->value.color.icc) {
ret += "icc-color(";
ret += " icc-color(";
ret += this->value.color.icc->colorProfile;
for(auto i: this->value.color.icc->colors) {
ret += ", " + Glib::ustring::format(i);
......
......@@ -62,7 +62,7 @@ std::vector<StyleRead> getStyleData()
// "fill:url(#painter) #ff00ff", "#painter"),
// StyleRead("fill:#ff00ff icc-color(colorChange, 0.1, 0.5, 0.1)"),
StyleRead("fill:#ff00ff icc-color(colorChange, 0.1, 0.5, 0.1)"),
// StyleRead("fill:url(#painter)", "", "#painter"),
// StyleRead("fill:url(#painter) none", "", "#painter"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment