inkscape-user-admin@lists.sourceforge.net wrote on 31/08/2005 11:15:32 AM:
Inkscape seems to always output PDFs in "Letter" sized paper in portrait mode, despite the Inkscape default settings (i.e.: choosing "A4 Landscape" when starting the drawing).
I don't really care so much about the output paper size, but it cuts off the right edge of my drawing during the export.
Is there any way to seduce inkscape into producing an A4 PDF? How about the rotation/aspect ?
Workaround:
Export to PS instead of PDF, then manually create the PDF using ps2pdf (part of ghostscript?) passing the parameter "-sPAPERSIZE=a4"
The case of the 'a' is significant.
e.g.: ps2pdf -sPAPERSIZE=a4 diagram.ps diagram.pdf
This *probably* works for other ISO paper 'a'-sizes, although these still have the same aspect ratio as A4, so I can't see the point ("US-Letter", the ghostscript default(?), doesn't have the same aspect as A*).
I couldn't get page rotation to work, no matter what I tried. Ghostscript is supposed to do this automatically based on the orientation of the text. Unfortunately despite most of my text being left->right landscape, one piece went down->up and this might have been enough to break it(?). However I even trawled through the ps2pdf scripts (which just call ghostscript) and gave it arguments that various sources suggested would force page rotation, but still to no effect (or broke PDF output).
hope this helps, -kt
--
Please consider our environment before printing this email.
WARNING - This email and any attachments may be confidential. If received in error, please delete and inform us by return email. Because emails and attachments may be interfered with, may contain computer viruses or other defects and may not be successfully replicated on other systems, you must be cautious. Westpac cannot guarantee that what you receive is what we sent. If you have any doubts about the authenticity of an email by Westpac, please contact us immediately.
It is also important to check for viruses and defects before opening or using attachments. Westpac's liability is limited to resupplying any affected attachments.
This email and its attachments are not intended to constitute any form of financial advice or recommendation of, or an offer to buy or offer to sell, any security or other financial product. We recommend that you seek your own independent legal or financial advice before proceeding with any investment decision.
Westpac Institutional Bank is a division of Westpac Banking Corporation, a company registered in New South Wales in Australia under the Corporations Act 2001 (Cth). Westpac is authorised and regulated in the United Kingdom by the Financial Services Authority and is registered at Cardiff in the United Kingdom as Branch No. BR 106. Westpac operates in the United States of America as a federally chartered branch, regulated by the Office of the Comptroller of the Currency.
Westpac Banking Corporation ABN 33 007 457 141.