mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
This commit is contained in:
parent
d11844ef8a
commit
8f71486953
@ -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)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user