[goffice] purge cairo path after text drawing
- From: Jean Bréfort <jbrefort src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [goffice] purge cairo path after text drawing
- Date: Sun, 20 Sep 2009 18:20:47 +0000 (UTC)
commit d2a14754dd913e543632ca1069f81e75d97dc4b8
Author: Jean Brefort <jean brefort normalesup org>
Date: Sun Sep 20 20:20:16 2009 +0200
purge cairo path after text drawing
ChangeLog | 4 ++++
goffice/canvas/goc-text.c | 1 +
2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 8185d79..ca3d158 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-20 Jean Brefort <jean brefort normalesup org>
+
+ * goffice/canvas/goc-text.c (goc_text_draw): purge cairo path.
+
2009-09-20 Morten Welinder <terra gnome org>
* configure.in: Post-release bump.
diff --git a/goffice/canvas/goc-text.c b/goffice/canvas/goc-text.c
index 87d6770..2a63733 100644
--- a/goffice/canvas/goc-text.c
+++ b/goffice/canvas/goc-text.c
@@ -354,6 +354,7 @@ goc_text_draw (GocItem const *item, cairo_t *cr)
cairo_clip (cr);
}
pango_cairo_show_layout (cr, pl);
+ cairo_new_path (cr);
cairo_restore (cr);
g_object_unref (pl);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]