summaryrefslogtreecommitdiffstats
path: root/src/style.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2015-05-27 20:02:55 +0000
committertavmjong-free <tavmjong@free.fr>2015-05-27 20:02:55 +0000
commitebcbea982c7b7dce6a5d3641e3a5d3a556b4d69f (patch)
treeddf6ac6c50de218018780b1cc3688c92ebee8263 /src/style.cpp
parentFix duplicate order (diff)
downloadinkscape-ebcbea982c7b7dce6a5d3641e3a5d3a556b4d69f.tar.gz
inkscape-ebcbea982c7b7dce6a5d3641e3a5d3a556b4d69f.zip
Add 'font-variant-xxx' to properties that should not be set on non-text elements.
(bzr r14179)
Diffstat (limited to 'src/style.cpp')
-rw-r--r--src/style.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/style.cpp b/src/style.cpp
index b218f4e4d..1668646b6 100644
--- a/src/style.cpp
+++ b/src/style.cpp
@@ -1711,6 +1711,14 @@ sp_css_attr_unset_text(SPCSSAttr *css)
sp_repr_css_set_property(css, "text-decoration-color", NULL);
sp_repr_css_set_property(css, "text-decoration-style", NULL);
+ sp_repr_css_set_property(css, "font-variant-ligatures", NULL);
+ sp_repr_css_set_property(css, "font-variant-position", NULL);
+ sp_repr_css_set_property(css, "font-variant-caps", NULL);
+ sp_repr_css_set_property(css, "font-variant-numeric", NULL);
+ sp_repr_css_set_property(css, "font-variant-alternates", NULL);
+ sp_repr_css_set_property(css, "font-variant-east-asian", NULL);
+ sp_repr_css_set_property(css, "font-feature-settings", NULL);
+
return css;
}