From: buliabyak Date: Wed, 11 Feb 2009 03:01:42 +0000 (+0000) Subject: patch by KoRi for 324938 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=52df193b5d1e7bf4f7fbfbb457248c8d13f2007e;p=inkscape.git patch by KoRi for 324938 --- diff --git a/src/extension/internal/pdfinput/svg-builder.cpp b/src/extension/internal/pdfinput/svg-builder.cpp index 78ddbb6bd..00c9e81fb 100644 --- a/src/extension/internal/pdfinput/svg-builder.cpp +++ b/src/extension/internal/pdfinput/svg-builder.cpp @@ -596,7 +596,8 @@ gchar *SvgBuilder::_createPattern(GfxPattern *pattern, GfxState *state, bool is_ if ( pattern->getType() == 2 ) { // Shading pattern GfxShadingPattern *shading_pattern = (GfxShadingPattern*)pattern; id = _createGradient(shading_pattern->getShading(), - shading_pattern->getMatrix()); + shading_pattern->getMatrix(), + !is_stroke); } else if ( pattern->getType() == 1 ) { // Tiling pattern id = _createTilingPattern((GfxTilingPattern*)pattern, state, is_stroke); }