Code

patch by KoRi for 324938
authorbuliabyak <buliabyak@users.sourceforge.net>
Wed, 11 Feb 2009 03:01:42 +0000 (03:01 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Wed, 11 Feb 2009 03:01:42 +0000 (03:01 +0000)
src/extension/internal/pdfinput/svg-builder.cpp

index 78ddbb6bd6c50efb310cf6cf074acde59b9990f9..00c9e81fb29c5f1bd532a1f597749f6a4a54a901 100644 (file)
@@ -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);
         }