* src/docgen/PdfDoc.py: Fix pagination problems.
        * src/docgen/CairoDoc.py: Fix pagination problem. Fix text position in
        the box.


svn: r9020
This commit is contained in:
Zsolt Foldvari
2007-09-27 19:13:30 +00:00
parent d100b4c759
commit e2f73de019
3 changed files with 17 additions and 5 deletions

@@ -95,8 +95,8 @@ class PdfDoc(CairoDoc):
"""Setup environment for printing.
"""
# get page size
self.page_width = context.get_width()
self.page_height = context.get_height()
self.page_width = round(context.get_width())
self.page_height = round(context.get_height())
# initialize pagination
self.setup_paginate()