Internal import of PDF generated with pdflatex/pgfplots crashes (surf plot with shader=interp)

Bug #1737782 reported by Patrick Storz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
Medium
Unassigned

Bug Description

Importing the attached PDF with Inkscape's internal PDF import causes a crash.

Error output:
  Assertion failed!

  Program: D:\Patrick\Downloads\inkscape-0.92.2\inkscape.exe
  File: ../../poppler-0.59.0/poppler/GfxState.cc, Line 4966

  Expression: !isParameterized()

The file uses a (probably not too common) Type 5 PDF shading (according to pgfplots documentation) which imports fine when using poppler import (but get's rasterized in this case).

I assume it's not easily possible to import this file (the shading would need to be converted to a mesh gradient or similar) but obviously Inkscape should not crash.

Tested with Inkscape 0.92.2 (b2fd37f, 2017-10-23) on Windows 7 x64.

Revision history for this message
Patrick Storz (ede123) wrote :
Revision history for this message
Patrick Storz (ede123) wrote :

Here's the full testcase including:
- the .tex file used to create the pdf with pdflatex
- the MATLAB .m file used to create figure.tex
  with the "matlab2tikz" script

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.