linuxmint / xreader

A generic Document Reader
GNU General Public License v2.0
216 stars 61 forks source link

Printing PDF documents from Xreader #591

Open BeardyProgrammer opened 1 year ago

BeardyProgrammer commented 1 year ago
 * Xreader version (xreader --version) 3.6.3
 * Distribution - (Mint 17.2, Arch, Fedora 25, etc...) Fedora 37 (Cinnamon)_

Issue It feels as though Xreader is trying to scale my A4 document to fit the shorter letter size paper and not looking at anything else - but of course, I could be wrong about that. Why does Xreader not print PDF documents at their original size?

Steps to reproduce I created a document in Libreoffice Writer. I added some text and then used Format->Borders to put a box round it. The rulers in Writer showed the box as being 17 cm wide x 3.5 cm high. I printed the document from Writer and the box did indeed have those measurements. I used Writer to create a PDF document. I took the PDF to a machine running Windows XP with Adobe Reader and printed the document on the same printer and the text box had the same measurements. However, opening the PDF document on my Fedora machine (using the default Xreader) and printing, the text box only measures 15.6x3.1 cm. I also used the option to scale the output - I selected 200% and this time the box measured 15.6x3.1 cm - exactly the same as 100% size.

Expected behaviour I would expect a document created for A4 size to fit A4 paper - and I would expect the scale option to make the document larger or smaller according to the setting

Other information TestDoc.pdf