Comment 12 for bug 168627

Revision history for this message
Atenrok-users (atenrok-users) wrote : Re: .pdf/.eps export

Originator: YES

> thank you for the example files, they will be useful in the future. I am
sorry but I cannot check with sumatra pdf (I am working on a mac) but
apparently latex treats the pdf file correctly because its position in the
resulting pdf does not seem to take in account the object outside the page,
only the

True. And that is what prevented me from discovering this "feature" for so
long. Although I was always wondering why the .pdf file come out so large
from inkscape.

> page itself. displaying objects outside the bounding box is a
feature indeed, but should only be activated when the user asks for it
(such as selecting the display of the media box, bleed box or such). Are
there such options in sumatra PDF viewer?

no, you have no choice here. Sumatra is extremely simple piece of
software. It has almost no options at all so far. But it is extremely fast,
I havn't seen a faster pdf-viewer for windows that this one yet.

> As for the export in Inkscape, it would indeed be very nice to have as
much flexibility in vector export that in raster export (export only page,
only selection, etc. You could search for a RFE about this and add one if
necessary, that would be welcome).

sure

> However, discarding some parts of a vector drawing would probably have
to be done by clipping/masking it and
this is also non desctructive (the clipped part are not displayed any more
but are still there).

I doubt that masking is a good idea. Exporting to .pdf, .eps, .emf
presumes that the image is prepared for publishing or displaying. I usually
work on the whole project in a single source file, and then export the
needed parts by moving them to the page area or just highlighting these (if
vector editor is capable of exporting the selection). Thus I expect that
the rest of the file is excluded. By including all the masked objects you
make the file very large without reason.

> If one wants to actually suppress everything outside
an area, this has to be done via boolean operations and their results are
non trivial as soon as there are some complex, self intersecting paths that
would have to be cut by these operations. You can try them from Inkscape
currently and see how difficult they can be. This probably does not answer
your concern sorry, but this is all I could think of ;)

So apparently you are mostly concerned about the objects that are
partially within the page area. Well, here the masking might work, because
I do not expect the file to grow that much because of couple pieces
sticking out.

However, I think this is the option that is actually rarely needed. At
least I do not remember a single case when I would not crop my drawing
myself but expected the editor to do this for me at export. Anyhow, the
option I am missing the most is "Export Selection". So I think as a baby
step, this can be implemented the first.