summaryrefslogtreecommitdiff
path: root/pango/pango-renderer.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2005-10-03 02:48:29 +0000
committerOwen Taylor <otaylor@src.gnome.org>2005-10-03 02:48:29 +0000
commit36af7cde0f6012925d4171d0f973d18a0abb5ee7 (patch)
tree9a5e4dd023ce88272422beba7fa424f380a199e1 /pango/pango-renderer.c
parent76f2672f42a455d6fa42ceca1a3653302e224a80 (diff)
downloadpango-36af7cde0f6012925d4171d0f973d18a0abb5ee7.tar.gz
unset all part colors, since when drawing just a glyph string,
2005-09-09 Owen Taylor <otaylor@redhat.com> * pango/pangocairo-render.c (pango_cairo_show_glyph_string): unset all part colors, since when drawing just a glyph string, prepare_run() isn't called. (#315599, Choe Hwanjin) * pango/pango-renderer.c (pango_renderer_draw_layout_line): NULL out renderer->priv->line_state.
Diffstat (limited to 'pango/pango-renderer.c')
-rw-r--r--pango/pango-renderer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pango/pango-renderer.c b/pango/pango-renderer.c
index 6a4ba3c6..346d435a 100644
--- a/pango/pango-renderer.c
+++ b/pango/pango-renderer.c
@@ -564,8 +564,9 @@ pango_renderer_draw_layout_line (PangoRenderer *renderer,
draw_underline (renderer, &state);
draw_strikethrough (renderer, &state);
+ renderer->priv->line_state = NULL;
+
pango_renderer_deactivate (renderer);
-
}
/**