From 821d7f7787e19ce6f094fc54b8dc7bf69e0b176f Mon Sep 17 00:00:00 2001 From: Thomas Holder Date: Fri, 1 Nov 2019 20:36:16 +0100 Subject: fix #497 don't set 'd' style property --- src/style-internal.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/style-internal.cpp') diff --git a/src/style-internal.cpp b/src/style-internal.cpp index 18be536f3..bce687d7f 100644 --- a/src/style-internal.cpp +++ b/src/style-internal.cpp @@ -1099,6 +1099,7 @@ SPIString::read( gchar const *str ) { Glib::ustring str_temp(str); if (id() == SP_ATTR_D && style_src == SP_STYLE_SRC_ATTRIBUTE) { set = false; + return; } if (id() == SP_PROP_FONT_FAMILY) { // Family names may be quoted in CSS, internally we use unquoted names. -- cgit v1.2.3