summaryrefslogtreecommitdiffstats
path: root/src/filter-chemistry.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2012-12-24 07:07:34 +0000
committerJabiertxo Arraiza Cenoz <jtx@jtx.marker.es>2012-12-24 07:07:34 +0000
commit151539ee2fdfdc417a691ba1d51e129036687cff (patch)
tree6be4d0f9f0516f99083506feede6a0806c2b8537 /src/filter-chemistry.cpp
parentGoing to merge (diff)
parentextensions. function plotter. patch by ~suv for clip rectangle (Bug 492103) (diff)
downloadinkscape-151539ee2fdfdc417a691ba1d51e129036687cff.tar.gz
inkscape-151539ee2fdfdc417a691ba1d51e129036687cff.zip
Merge from branch
(bzr r11950.1.6)
Diffstat (limited to 'src/filter-chemistry.cpp')
-rw-r--r--src/filter-chemistry.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/filter-chemistry.cpp b/src/filter-chemistry.cpp
index fc74ee8a2..14bd00057 100644
--- a/src/filter-chemistry.cpp
+++ b/src/filter-chemistry.cpp
@@ -98,7 +98,10 @@ SPFilter *new_filter(SPDocument *document)
Inkscape::XML::Node *repr;
repr = xml_doc->createElement("svg:filter");
- // Inkscape only supports sRGB. See note in sp-filter.cpp.
+ // Inkscape now supports both sRGB and linear color-interpolation-filters.
+ // But, for the moment, keep sRGB as default value for new filters
+ // (historically set to sRGB and doesn't require conversion between
+ // filter cairo surfaces and other types of cairo surfaces).
SPCSSAttr *css = sp_repr_css_attr_new();
sp_repr_css_set_property(css, "color-interpolation-filters", "sRGB");
sp_repr_css_change(repr, css, "style");