View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017249 | Scribus | Import / Export | public | 2024-07-25 21:14 | 2024-07-28 11:45 |
Reporter | edbennett | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | Mac | OS | macOS | OS Version | 14.5 |
Product Version | 1.6.2 | ||||
Summary | 0017249: SVG clipping paths are ignored | ||||
Description | When 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 Reproduce | Drag 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. | ||||
Tags | No tags attached. | ||||
Patch | No | ||||
|
|
|
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. |
|
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. |