inkscape generated excessively large PDF

Bug #799498 reported by Matěj Cepl
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Medium
Unassigned

Bug Description

I have got a form to fill in (see attached). I have opened it in the inkscape, created a new layer and filled all information in the layer. When I have exported resulting .svgz document (also attached) to PDF I've got HUGE file (6.5MB, if I can I would attach it as well) which Sumatra PDF viewer on Windows was not able to open.

Using inkscape-0.48.1-4.fc15.x86_64 on Fedora 15.

Revision history for this message
Matěj Cepl (mcepl) wrote :
Revision history for this message
Matěj Cepl (mcepl) wrote :
Revision history for this message
Matěj Cepl (mcepl) wrote :
su_v (suv-lp)
tags: added: exporting importing
removed: export form
Revision history for this message
su_v (suv-lp) wrote :

Based on the contents of the original PDF file and the SVG file as well as the problems encountered when attempting to reproduce the reported issue with recent cairo versions (Inkscape 0.48 or later appears to hang on PDF export while consuming increasing amounts of memory, equally when attempting to load the larger generated PDF file attached by the reporter), this is likely related to later report
* Bug #1289471 “segfault when saving as pdf”
  https://bugs.launchpad.net/inkscape/+bug/1289471

$ zgrep '<image' 799498-zmena_FO_prevod-filled-in.svgz | wc -l
    1252
$ zgrep '<mask' 799498-zmena_FO_prevod-filled-in.svgz | wc -l
     626
$ zgrep '<clip' 799498-zmena_FO_prevod-filled-in.svgz | wc -l
     323
$

Revision history for this message
Qantas94Heavy (qantas94heavy) wrote :

Can still reproduce with Inkscape 1.0alpha (4855a8a2).

The problematic part of the document is the 'Nový variabilní symbol' section, g7551 in the second 'original' layer. Removing this reduces the generated file size to 110 KB.

Changed in inkscape:
status: New → Confirmed
Changed in inkscape:
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Nathan Lee (nathan.lee) wrote :

Hi - thanks for reporting this bug, I've manually migrated it to Inkscape's new bug tracker on GitLab, and closed it here.

Please feel free to file new bugs about the issues you're seeing at http://inkscape.org/report.

Moved to: https://gitlab.com/inkscape/inbox/-/issues/3465
Closed by: https://gitlab.com/nathanal

Changed in inkscape:
status: Triaged → Invalid
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.