Hi Paul,

I just did a test build under Ubuntu 20.04.

Inkscape 0.92.5 crashes with new SVG figures memorder/*-hopes.svg.

$ inkscape --export-pdf=/tmp/test.pdf memorder/co-hopes.svg
[usual warnings ...]

** (inkscape:9): CRITICAL **: 23:17:05.340: void 
Inkscape::Extension::Internal::CairoRenderContext::_setFillStyle(const 
SPStyle*, const Geom::OptRect&): assertion '!style->fill.set || 
style->fill.isColor() || style->fill.isPaintserver()' failed
**
ERROR:/build/inkscape-QIwD1g/inkscape-0.92.5/src/extension/internal/cairo-render-context.cpp:1422:void
 Inkscape::Extension::Internal::CairoRenderContext::_setStrokeStyle(const 
SPStyle*, const Geom::OptRect&): assertion failed: 
(style->stroke.isPaintserver() || SP_IS_GRADIENT(SP_STYLE_STROKE_SERVER(style)) 
|| SP_IS_PATTERN(SP_STYLE_STROKE_SERVER(style)) || dynamic_cast<SPHatch 
*>(SP_STYLE_STROKE_SERVER(style)))
Bail out! 
ERROR:/build/inkscape-QIwD1g/inkscape-0.92.5/src/extension/internal/cairo-render-context.cpp:1422:void
 Inkscape::Extension::Internal::CairoRenderContext::_setStrokeStyle(const 
SPStyle*, const Geom::OptRect&): assertion failed: 
(style->stroke.isPaintserver() || SP_IS_GRADIENT(SP_STYLE_STROKE_SERVER(style)) 
|| SP_IS_PATTERN(SP_STYLE_STROKE_SERVER(style)) || dynamic_cast<SPHatch 
*>(SP_STYLE_STROKE_SERVER(style)))

[...]


It looks like those SVG figures are generated from dot, and you
added x-axis and y labels to it.

Can you share the dot scripts you used?

Hopefully, Ubuntu 20.04's dot might generate SVGs compatible with
the old inkscape.

        Thanks, Akira

Reply via email to