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 the box. svn: r9020
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user