diff --git a/ChangeLog b/ChangeLog index 39a5223a6..9750010bd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2007-09-27 Zsolt Foldvari + * src/docgen/CairoDoc.py: Really fix text position in the box. + 2007-09-27 Zsolt Foldvari * src/docgen/PdfDoc.py: Fix pagination problems. * src/docgen/CairoDoc.py: Fix pagination problem. Fix text position in diff --git a/src/docgen/CairoDoc.py b/src/docgen/CairoDoc.py index 08de59dcd..25f06835b 100644 --- a/src/docgen/CairoDoc.py +++ b/src/docgen/CairoDoc.py @@ -1221,7 +1221,7 @@ class CairoDoc(BaseDoc.BaseDoc, BaseDoc.TextDoc, BaseDoc.DrawDoc): x_offset = 0.2 new_text = GtkDocText(paragraph_style, 'center', text, - x_offset , y + h / 2, angle=0) + x + x_offset , y + h / 2, angle=0) self._active_element.add_child(new_text) def draw_text(self, style_name, text, x, y):