From 7d61da0bfedc0017fbfc1cabe9457ce5843a36d6 Mon Sep 17 00:00:00 2001 From: "Craig J. Anderson" Date: Mon, 18 Jun 2012 20:19:08 +0000 Subject: [PATCH] Error 5851 (part 2) svn: r19867 --- src/plugins/lib/libcairodoc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/lib/libcairodoc.py b/src/plugins/lib/libcairodoc.py index d9378352e..5e3cf8853 100644 --- a/src/plugins/lib/libcairodoc.py +++ b/src/plugins/lib/libcairodoc.py @@ -1576,6 +1576,7 @@ links (like ODF) and write PDF from that format. if style.get_shadow(): x_offset = style.get_shadow_space() else: + x_offset = 0.2 new_text = GtkDocText(paragraph_style, 'center', self.__markup(text), @@ -1612,7 +1613,7 @@ links (like ODF) and write PDF from that format. paragraph_style.set_alignment(PARA_ALIGN_CENTER) new_text = GtkDocText(paragraph_style, 'center', - self.__markup([text]), x, y, angle) + self.__markup(text), x, y, angle) self._active_element.add_child(new_text) # paginating and drawing interface