2007-09-27 Zsolt Foldvari <zfoldvar@users.sourceforge.net>

* src/docgen/CairoDoc.py: Really fix text position in the box.


svn: r9021
This commit is contained in:
Zsolt Foldvari 2007-09-27 19:31:32 +00:00
parent e2f73de019
commit 1ce7c2e543
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2007-09-27 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/docgen/CairoDoc.py: Really fix text position in the box.
2007-09-27 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/docgen/PdfDoc.py: Fix pagination problems.
* src/docgen/CairoDoc.py: Fix pagination problem. Fix text position in

View File

@ -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):