Bug 170617 - Set the paper size when importing PS as PDF
Summary: Set the paper size when importing PS as PDF
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-07 15:53 UTC by Piotr Stachura
Modified: 2008-09-12 10:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Stachura 2008-09-07 15:53:27 UTC
Version:            (using Devel)
Compiler:          gcc-4.3.1 r1 gentoo
OS:                Linux
Installed from:    Compiled sources

When importing PostScript as PDF file (action from menu) okular runs gs with standard parameters that makes paper size as us-letter. For me (and some other people) it will be great if importing gave option to choose paper size (ie. -sPAPERSIZE=A4) from list or based on size in PS file.
Imported A4 PS file for now results letter PDF file, that isn't good for printing (cutted text).
Gaveing paper size option "from hand" makes PDF file usable so it shouldn't be a big issue ;)
Comment 1 Pino Toscano 2008-09-07 16:00:54 UTC
Then this is actually a wish, not a bug, as we just let ps2pdf figure out the correct paper size (and if it does not, then this is a ps2pdf bug).
Comment 2 Piotr Stachura 2008-09-12 10:08:10 UTC
ps2pdf assumes paper size ALWAYS as us-letter so letting it to make a choice isn't really a choice... ps2pdf has an option just like gs, so adding -sPAPERSIZE=mypapersize would be very usefull. I found that ie. inkscape makes this same trick (http://wiki.inkscape.org/wiki/index.php/TricksAndTips#Printing_or_Producing_PDFs_in_ISO_A4_rather_than_US_Specific_Letter_Paper)