diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2018-02-18 00:56:29 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2018-02-18 00:56:29 +0000 |
| commit | 9d6b0e851f455225558c58ee007788bf6b8e3ee3 (patch) | |
| tree | d36617c75f27083e26896269bdbf4a165f150e05 /src/style.cpp | |
| parent | Promote the path 'd' attribute to a property per SVG 2. (diff) | |
| download | inkscape-9d6b0e851f455225558c58ee007788bf6b8e3ee3.tar.gz inkscape-9d6b0e851f455225558c58ee007788bf6b8e3ee3.zip | |
Revert "Promote the path 'd' attribute to a property per SVG 2."
Needs further testing.
This reverts commit e88644b0f3481c78a9563dbf9ee6b76ab6674583.
Diffstat (limited to 'src/style.cpp')
| -rw-r--r-- | src/style.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/style.cpp b/src/style.cpp index b3bbcbe45..3298cb0c9 100644 --- a/src/style.cpp +++ b/src/style.cpp @@ -97,10 +97,6 @@ SPStyle::SPStyle(SPDocument *document_in, SPObject *object_in) : // font-family // font-specification - - // SVG 2 attributes promoted to properties. (When geometry properties are added, move after font.) - d( "d" ), // SPIString Not inherited! - // Font related properties and 'font' shorthand font_style( "font-style", enum_font_style, SP_CSS_FONT_STYLE_NORMAL ), font_variant( "font-variant", enum_font_variant, SP_CSS_FONT_VARIANT_NORMAL ), @@ -286,9 +282,6 @@ SPStyle::SPStyle(SPDocument *document_in, SPObject *object_in) : // This might be too resource hungary... but for now it possible to loop over properties - // SVG 2: Attributes promoted to properties - _properties.push_back( &d ); - // 'color' must be before 'fill', 'stroke', 'text-decoration-color', ... _properties.push_back( &color ); @@ -709,9 +702,6 @@ SPStyle::readIfUnset( gint id, gchar const *val, SPStyleSrc const &source ) { g_return_if_fail(val != NULL); switch (id) { - case SP_ATTR_D: - d.readIfUnset( val, source ); - break; case SP_PROP_INKSCAPE_FONT_SPEC: font_specification.readIfUnset( val, source ); break; |
