Android Question Palmohtmltopdf update - PDF with different margins

netsistemas

Active Member
Licensed User
Longtime User
I have an app on multiple devices.
For a few days now, and without having updated my application, the part that generates PDF from html, which uses palmohtmltopdf, generates different PDFs.
Now, these PDFs have no margins.

This has only started to happen on some devices.
I understand that perhaps an ANDROID update has modified that library.
It can be that? or what is escaping me.
I doubt users have installed any new apps or updated any others, but.
Can these libraries be shared by several applications?

I'll try to find out the library version, but there is something I don't understand well.
Thank you.
 

netsistemas

Active Member
Licensed User
Longtime User
In my html, there was an image placed by absolute position, above all the rest of the content. I think this meant that the library that generates the PDF would work differently in one terminal or another.
I can verify this in different online pdf generators from html. So I interpret that it depends on the internal version of the browser that the device uses.
After removing that absolute position, it seems to have been solved, although I am still not 100% sure.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…