From: buliabyak Date: Mon, 9 Nov 2009 17:14:07 +0000 (+0000) Subject: regression patch from 388257 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=13a8bd2fcbeeb98c86ba8507a1b85af83e2ea212;p=inkscape.git regression patch from 388257 --- diff --git a/src/extension/internal/cairo-render-context.cpp b/src/extension/internal/cairo-render-context.cpp index 721d3addc..023a9b837 100644 --- a/src/extension/internal/cairo-render-context.cpp +++ b/src/extension/internal/cairo-render-context.cpp @@ -1541,17 +1541,14 @@ CairoRenderContext::renderGlyphtext(PangoFont *font, Geom::Matrix const *font_ma } else { bool fill = false, stroke = false, have_path = false; if (style->fill.isColor() || style->fill.isPaintserver()) { - // set fill style - _setFillStyle(style, NULL); fill = true; } if (style->stroke.isColor() || style->stroke.isPaintserver()) { - // set stroke style - _setStrokeStyle(style, NULL); stroke = true; } if (fill) { + _setFillStyle(style, NULL); if (_is_texttopath) { _showGlyphs(_cr, font, glyphtext, true); have_path = true; @@ -1562,6 +1559,7 @@ CairoRenderContext::renderGlyphtext(PangoFont *font, Geom::Matrix const *font_ma } } if (stroke) { + _setStrokeStyle(style, NULL); if (!have_path) _showGlyphs(_cr, font, glyphtext, true); cairo_stroke(_cr); }