View Issue Details

IDProjectCategoryView StatusLast Update
0017249ScribusImport / Exportpublic2024-07-28 11:45
Reporteredbennett Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformMacOSmacOSOS Version14.5
Product Version1.6.2 
Summary0017249: SVG clipping paths are ignored
DescriptionWhen importing an SVG that uses a clipping path, the clipped object is not clipped within Scribus. This causes objects in images to overspill their bounds; for example, lines on graphs crash over the edges of the graph and into axis labels.
Steps To ReproduceDrag and drop an SVG file using a clipping path onto the canvas. Or, File > Import > Get Vector File, select an SVG file using a clipping path, and place it onto the canvas.

Two examples of SVGs with clipping paths are attached. One is created with Inkscape: the yellow line should be restricted to the dark blue lozenge, and not extend out into the pink region. The other is created with Matplotlib, a Python plotting library: the blue plot line should be contained within the black rectangle and not extend to the edge of the graphic or cover the axis text at the bottom.
TagsNo tags attached.
PatchNo

Activities

edbennett

2024-07-25 21:14

reporter  

cliptest.svg (2,331 bytes)   
cliptest.svg (2,331 bytes)   
cliptestgraph.svg (22,442 bytes)   
cliptestgraph.svg (22,442 bytes)   

jghali

2024-07-26 18:31

administrator   ~0051244

Theses SVGs use clip paths defined on paths elements. Currently Scribus does not support defining clip paths on scribus paths objets. That's why clip paths in these SVGs are not imported.

edbennett

2024-07-28 11:45

reporter   ~0051245

Be that as it may, it makes Scribus very awkward to use for producing academic posters, where I frequently want to place plots generated with Matplotlib. I’ve has to present one poster with an obvious printing error like in the graph attached because I didn’t notice it until I had printed it, and Scribus provided no warning that it had discarded some of the file it was importing.

The same happens when dragging a PDF in, so it’s not at all clear how one is supposed to place vector content into a document without risk of it being corrupted.

Issue History

Date Modified Username Field Change
2024-07-25 21:14 edbennett New Issue
2024-07-25 21:14 edbennett File Added: cliptest.svg
2024-07-25 21:14 edbennett File Added: cliptestgraph.svg
2024-07-26 18:31 jghali Note Added: 0051244
2024-07-28 11:45 edbennett Note Added: 0051245