All of lore.kernel.org
 help / color / mirror / Atom feed
* memorder: SVG figures incompatible with Ubuntu 20.04's Inkscape
@ 2024-02-11 23:30 Akira Yokosawa
  2024-02-11 23:48 ` Paul E. McKenney
  0 siblings, 1 reply; 4+ messages in thread
From: Akira Yokosawa @ 2024-02-11 23:30 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: perfbook

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-02-12 12:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-11 23:30 memorder: SVG figures incompatible with Ubuntu 20.04's Inkscape Akira Yokosawa
2024-02-11 23:48 ` Paul E. McKenney
2024-02-12  2:26   ` Akira Yokosawa
2024-02-12 12:02     ` Paul E. McKenney

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.