Created attachment 120543 [details] Sample document for testing SUMMARY The title pretty much says it all. Personally, I feel that since Okular aims to be a viewer for many more types of files other than PDF (EPUB, ODF, etc.) it should be able to act as a one-to-one converter to PDF. For example, you should be able to open an PostScript file with many different page sizes and use Okular's Print-to-PDF function to create an identical PDF, with the page sizes preserved. However, I can also understand the reasoning behind the current default setting. It also makes sense that using Print-to-PDF would force the document to fit into a consistent, standard paper size. If this remains the default, however, the default paper size should be dependent on locale (en_US should have Letter for example). STEPS TO REPRODUCE 1. Open the attached PDF. 2. Go to File > Print and select Print to PDF. 3. Hit "Print" and observe the output. OBSERVED RESULT The Letter-size document produces an A4-size PDF. EXPECTED RESULT The PDF produced via Print-to-PDF is Letter-sized for either of the following reasons: 1. The original document was Letter-sized, and the original document's page size(s) are preserved, OR 2. Letter is the default paper size for my locale (en_US). SOFTWARE/OS VERSIONS KDE Frameworks Version: 5.58.0 Qt Version: 5.12.3
Note: split from https://bugs.kde.org/show_bug.cgi?id=406237
*** This bug has been marked as a duplicate of bug 252596 ***
I don't think this is a duplicate. IIRC you can set it to Letter and it works. This is about changing the default.
My reasoning was that it's a duplicate in that fixing Bug 252596 will automatically fix this too. From your other bug I see you're having a hard time making it print in sizes that are not A4 in general, so I suspect that's the proximate cause of this, rather than a bad hardcoded default (I could be wrong though).
(In reply to Matthew Trescott from comment #3) > I don't think this is a duplicate. IIRC you can set it to Letter and it > works. This is about changing the default. I agree that this would be extremely useless. I use letter all the time, and always have to go in the settings to change the format. Being able to set the default, or having the last choice being preserved, would be a big help.
(In reply to Clément from comment #5) > (In reply to Matthew Trescott from comment #3) > > I don't think this is a duplicate. IIRC you can set it to Letter and it > > works. This is about changing the default. > > I agree that this would be extremely useless. I use letter all the time, and > always have to go in the settings to change the format. Being able to set > the default, or having the last choice being preserved, would be a big help. useful*, sorry.