Inkscape fails to make .pdf files the same size as the inkscape original

Bug #1196357 reported by Robert Carter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
Medium
Unassigned

Bug Description

It's simple, I want my .pdf file image to be 4788x1510, so I make sure I scale the whole image to that size (I've tried transform and also the manual way). Then when I save it, it turns from 4788x1510 to 3820x1208, then on top of that it crops off half of the photo. I've tried every thing: export is drawing, export is page, and both at the same time. I'm using mac version of Inkscape.

Revision history for this message
Robert Carter (rob-carter13) wrote :
su_v (suv-lp)
tags: added: exporting pdf
Revision history for this message
su_v (suv-lp) wrote :

Known workaround:
1) add a new layer on top of the current one
2) move the masked image to the new layer
3) save a copy as PDF (page area)

IIRC this is already tracked in earlier reports already (masked objects are "displaced" in cairo-based exports (PDF/PS/EPS) if the parent layer or group has a 'transform' attribute).

tags: added: masking
Revision history for this message
su_v (suv-lp) wrote :

(The page size of the PDF is identical to the size of the page in Inkscape (you can verify that by changing the units for the custom page size in the document properties of the SVG file in Inkscape):
Width: 4788.00 px --> 135.13 cm
Height: 1510.00 px --> 42.62 cm

PDF size according to Apple's Preview.app:
Page size: 135.13 × 42.62 cm

Revision history for this message
su_v (suv-lp) wrote :

> it turns from 4788x1510 to 3820x1208,

Finder info for locally exported PDF is actually '3830 × 1208'.

AFAICT the resolution shown in the Finder's 'Info' window is using pt, not px (unfortunately, it does not mention the unit explicitly). Inkscape's SVG file has the same size in 'pt', which can be verified by changing the units for the custom page size in 'Document Properties' from 'px' to 'pt'.

Revision history for this message
su_v (suv-lp) wrote :

> IIRC this is already tracked in earlier reports already

Related earlier reports:
- Bug #427540 “missing (masked) images from pdf export”
- Bug #743053 "Exporting mask with gradient to EPS results in blank page"

Revision history for this message
su_v (suv-lp) wrote :

Proposing to link as duplicate to bug #427540.

Changed in inkscape:
importance: Undecided → Medium
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.