From 13a8bd2fcbeeb98c86ba8507a1b85af83e2ea212 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Mon, 9 Nov 2009 17:14:07 +0000 Subject: [PATCH] regression patch from 388257 --- src/extension/internal/cairo-render-context.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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); } -- 2.30.2