fix cover issue, add copyleft text

This commit is contained in:
2025-11-04 20:05:34 +01:00
parent 12d6fcd5db
commit 25d36566d0
6 changed files with 388 additions and 2 deletions
+4 -1
View File
@@ -244,9 +244,12 @@ def image_layouter(image: AbstractImage, page: Page, max_width: Optional[int] =
x_offset = page.border_size
y_offset = page._current_y_offset
# Access page.draw to ensure canvas is initialized
_ = page.draw
renderable_image = RenderableImage(
image=image,
canvas=page.canvas,
canvas=page._canvas,
max_width=max_width,
max_height=max_height,
origin=(x_offset, y_offset),