Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I know that I can make Dia to fit a diagram into a page of a fixed size:

enter image description here

But I want the resulting / exported pdf-page to have no border. Currently, I use pdfcrop for this task, but I would like to do it with Dia. The export must be to a PDF with vector graphics.

Is this possible? How can I do it?

share|improve this question
    
What does "have no border" mean? –  David Dec 5 '12 at 21:26
    
When you look at the image, you can see that there is some space below of the diagram on the page. I want the page to end at the end of the diagram. So I should perhaps call it "padding" instead of border? –  moose Dec 6 '12 at 6:08
    
So what you want is to set the image to stretch across the whole page, such that there is no extra room on the page? –  David Dec 6 '12 at 19:51
    
No. I want the page to have the aspect ratio that my diagram has, not vice versa. –  moose Dec 6 '12 at 20:03
add comment

1 Answer

To get an image without any padding, you can export the image as a .png:

enter image description here

If you want to print the image as it appears in Dia, go to Page Setup and set the scale to 100 and the margins to whatever you like (It's not clear if you wanted to set them to 0 or not.) Make sure that the image falls within the blue lines, as that is your page outline.

enter image description here

share|improve this answer
    
This way it will only have one of the sizes / aspect ratios provided in "Paper size". So this is not a solution to my problem. –  moose Dec 6 '13 at 11:29
    
Making a custom page size in a PDF is a pretty non-standard thing to do, so I don't think you are going to have much luck getting it done in one step. –  David Dec 6 '13 at 16:26
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.