diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2015-05-27 20:02:55 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2015-05-27 20:02:55 +0000 |
| commit | ebcbea982c7b7dce6a5d3641e3a5d3a556b4d69f (patch) | |
| tree | ddf6ac6c50de218018780b1cc3688c92ebee8263 /src/style.cpp | |
| parent | Fix duplicate order (diff) | |
| download | inkscape-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.cpp | 8 |
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; } |
