This commit is contained in:
Kovid Goyal 2007-10-16 04:47:32 +00:00
parent d11844ef8a
commit 8f71486953

View File

@ -632,7 +632,7 @@ class HTMLConverter(object):
ib = ImageBlock(self.images[path], x1=width, ib = ImageBlock(self.images[path], x1=width,
y1=height, xsize=width, ysize=height, y1=height, xsize=width, ysize=height,
blockwidth=width, blockheight=height) blockwidth=width, blockheight=height)
canvas.put_object(ib, int((pwidth-width)/2.), int((pheight-height)/2.)) canvas.put_object(ib, int(5+(pwidth-width)/2.), int((pheight-height)/2.))
page.append(canvas) page.append(canvas)
self.book.append(page) self.book.append(page)