From 52df193b5d1e7bf4f7fbfbb457248c8d13f2007e Mon Sep 17 00:00:00 2001 From: buliabyak Date: Wed, 11 Feb 2009 03:01:42 +0000 Subject: [PATCH] patch by KoRi for 324938 --- src/extension/internal/pdfinput/svg-builder.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.30.2