Closed bryanwac closed 2 months ago
I've managed to reproduce the bug. It's really strange:
It seems to be a problem with your coordinates.
right
must be greater than left
. Otherwise, the text is rendered upside-down.left
and right
is too small, the font size is adjusted so the text fits into the box. That's why my reproducer seems to ignore the font size.bottom=0
prevents the text from being moved downwards. So you've defined a box that spans almost the entire page but it only zero pixels wide. That confuses other PDF renderers and the printer. It's weird that the print function is confused because it's the same renderer. But maybe there's a small difference.
Hi, has been a while since we talk !
Now I'm facing this error:
I am using this function to add a text-block into my pdf on page with pageNumber X:
The text is correctly added, and displayed this way:
And I am using the line below to save PDF as blob:
the blob is uploaded on aws and I save it to my database.
==============================================
I am facing this issue here that I would like to use ur help:
If I just add the text-block, and do not resize it / move it, this happens:
The text-block moves left and up sides, and all lines on the text-block turn upside down.
I could not replicate this on ur trial version, cz If I place a text-block there, with content, and do not resize or move, the block is not gettin printed on pdf when I download it.