Android Question PDF "Printing" library, different results on each device

vecino

Well-Known Member
Licensed User
Longtime User
Hi, using the "Printing" library to create PDF files, on one device it creates fine, on others small letters, on others large and overlapping letters, etc.
Is there something I don't know about?
Thank you very much.

For example, PDF created on my tablet:

PDF created on the tablet of one of my clients:
 

vecino

Well-Known Member
Licensed User
Longtime User

You should divide the text size with GetDeviceLayoutValues.Scale when calling Canvas.DrawText.
 
Upvote 1
Cookies are required to use this site. You must accept them to continue using the site. Learn more…