Replies: 2 comments 3 replies
-
Not sure if this is the right place, but if it's not then please let me know and I'll move it elsewhere |
Beta Was this translation helpful? Give feedback.
1 reply
-
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I am using the
self.image
on a page, and while doing so I ran into the following problemIt clearly does not respect the bottom margin that I've said like so in the ctor:
now the images are rendered as follows:
Now for both the width and the height I make sure that itll fit within the margins, is this intended? I would think that for the bottom margin it would auto break like with
self.cell
,self.tables
, etc.I solved the issue myself by adding:
Prior to calling
image_info = self.image(image_path, x=current_x, y=current_y, w=fixed_width)
which solved the issue.However having to do something alike for each image would be pretty inefficient and I have a feeling I am doing something wrong which causes my behavior, could someone help me solve this mystery?
Beta Was this translation helpful? Give feedback.
All reactions