[okular] [Bug 408271] New: Print-to-PDF defaults to A4 regardless of locale or original document size

Matthew Trescott bugzilla_noreply at kde.org
Tue Jun 4 03:13:00 BST 2019


https://bugs.kde.org/show_bug.cgi?id=408271

            Bug ID: 408271
           Summary: Print-to-PDF defaults to A4 regardless of locale or
                    original document size
           Product: okular
           Version: 1.7.1
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: printing
          Assignee: okular-devel at kde.org
          Reporter: matthewtrescott at gmail.com
  Target Milestone: ---

Created attachment 120543
  --> https://bugs.kde.org/attachment.cgi?id=120543&action=edit
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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list