[lasem] svg_view: code comment.
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [lasem] svg_view: code comment.
- Date: Mon, 22 Oct 2012 21:14:11 +0000 (UTC)
commit c8fb45ccaf815b6094dcbbdfa2f5898df6a7a741
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Mon Oct 22 23:13:29 2012 +0200
svg_view: code comment.
src/lsmsvgview.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/lsmsvgview.c b/src/lsmsvgview.c
index 1123656..623dbba 100644
--- a/src/lsmsvgview.c
+++ b/src/lsmsvgview.c
@@ -981,6 +981,8 @@ lsm_svg_view_show_text (LsmSvgView *view, char const *string, double x, double y
lsm_debug_render ("[LsmSvgView::show_text] Show '%s' at %g,%g (%g px)", string, x, y, style->font_size_px);
+ /* A text may be painted with a text based pattern. In this case,
+ * we take care to create a new pango layout if the current one is in use. */
if (view->is_pango_layout_in_use) {
PangoContext *pango_context;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]