Mantis Issue Tracking for Scribus
· Hosting provided by Anduin.net / Øverby Consulting ·

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004732ScribusImport / Exportpublic06-Dec-05 16:3314-Jul-06 15:11
Reporterchristoph_s 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version1.3.4cvs 
Target Version1.5.1Fixed in Version 
Summary0004732: SVG test cases
DescriptionI upload two archives with svgs from open clipart that either can't be imported at all or are imported with significant loss of information or take really long to import. This is intended to ease testing and further development.
TagsNo tags attached.
Attached Filesbz2 file icon problem-svgs_1.tar.bz2 [^] (1,429,462 bytes) 06-Dec-05 16:33
bz2 file icon problem-svgs_3.tar.bz2 [^] (1,255,360 bytes) 06-Dec-05 16:36
zip file icon svg-issues.zip [^] (71,491 bytes) 06-Dec-26 17:31
bz2 file icon glass1.svg.tar.bz2 [^] (17,021 bytes) 07-Jan-15 16:22
? file icon Chrisdesign_Diamond.svg [^] (534,895 bytes) 08-Mar-05 00:23

- Relationships
related to 0005009closedplinnell Imported SVG influences canvas display 
related to 0005006closedavox Crash while resizing SVG 
related to 0004950closedfschmid Issues with Illustrator SVG 
related to 0003714closedfschmid SVG import causes GUI freeze 
related to 0002221closedfschmid scribus crash with signal 0000006 or complete freeze while trying to import complex svg files 
parent of 0004765closedjghali SVG import: add handling of 'switch' element 
parent of 0010841new importing an SVG with rasterized effects does not work 
parent of 0009404closedale can't read SVGs created by openstreetmap 
parent of 0012305new Some SVG files not properly imported by Scribus 
parent of 0012252confirmed Wrong import of SVG gradient + Crash (file attached) 
related to 0005008closedjghali Crashes with SVG files 
related to 0005014closedcbradney SVG import freezes Scribus 
related to 0002931acknowledged Metabug: SVG 
Not all the children of this issue are yet resolved or closed.

-  Notes
(0013782)
jghali (administrator)
06-Dec-05 18:25

The first thing needed here is an overhaul of scribus graphic model. Svg import plugin is currently mostly limited by scribus graphics capabilities.
(0013841)
jghali (administrator)
06-Dec-09 20:37

Handling of svg 'switch' element is now implement in 1.3.3.7cvs. Most of those test cases which could not be imported at all were coming from illustrator and used that element to allow conditional handling of illustrator specific tags. Now supported parts of that 'switch' element are processed and thus most of those file can now be imported.
(0013995)
christoph_s (administrator)
06-Dec-18 14:18

Some of the files still can't be imported or let Scribus freeze. Following a short description of the issues:

diary_costea_bogdan_01.svg: Will be imported, but doesn't display anything.

paperbag2_juliane_krug.svg: Freezes 1.3.3.7cvs and 1.3.4cvs

carnegie_library_building_01.svg: Takes a long time to import

keyboard_key_yemu.svg: Can be imported, but doesn't scale correctly, fonts are shifted/misplaced due to incorrect scaling

microchip_v.2_havok_redh_01.svg: Takes a long time to import

If possible, the speed issues should be fixed, and Scribus should discard files that can't be displayed correctly (or at all) or that cause a freeze
(0014256)
christoph_s (administrator)
06-Dec-26 17:31

Added another archive with SVGs that can't be imported.
(0014284)
jghali (administrator)
06-Dec-27 23:37

I had a look at svg-issues.zip svgs:
- brozo_the_clown_enrique__01.svg : parsing bug of percentages, fixed in 1.3.3.7cvs and 1.3.4cvs, group opacity not correctly handled
- cartoon_tree_01.svg : handling of <use> tag, added yesterday in 1.3.3.7cvs and 1.3.4cvs
- coat_of_arms_of_anglica_01.svg : handling of width and height attributes when expressed as a percentag of viewbox width and height
- discordian_sacred_chao_t_01.svg : same as previous
- glass.svg and glass1.svg : bad handling of clipping path
- jin-jang_multimotyl_01.svg : objects outside viewport should be ignored

note: fix for coat_of_arms_of_anglica_01.svg also fix import of keyboard_key_yemu.svg from problem-svgs_3.tar.bz2
(0014302)
jghali (administrator)
06-Dec-29 02:15

- discordian_sacred_chao_t_01.svg : styles info at svg root were not parsed and consequently not taken into account, fixed in 1.3.3.7cvs and 1.3.4cvs
(0014312)
jghali (administrator)
06-Dec-29 23:25

- glass.svg and glass1.svg : have now improved handling of clip paths in 1337cvs and 134cvs, however only 134cvs will be able to import those files correctly due to specific features for groups
(0014810)
christoph_s (administrator)
07-Jan-15 16:22

Jean, could you please test the uploaded glass1.svg? It lets Scribus freeze.
(0014817)
jghali (administrator)
07-Jan-16 00:55

drawing is a bit long due to the files complexity, but no freeze here
(0019147)
christoph_s (administrator)
08-Mar-05 00:24

Chrisdesign_Diamond can't be imported correctly.
(0019148)
jghali (administrator)
08-Mar-05 08:55
edited on: 08-Mar-05 08:59

christoph_s : SVG filters are outside the scope of this bug. This SVG has also objects outside the drawing frame.

(0032451)
JLuc (updater)
14-Jul-03 20:50

I confirm for Diamond : it's probably the same bug as 0012187 which proposes a simple testcase, and where issue is with

     transform="scale(1,-1)"
(0032453)
JLuc (updater)
14-Jul-03 20:55

What is it you call a filter jghali ?
How can testers recognise that a svg include a filter ?
(0032470)
JLuc (updater)
14-Jul-04 09:42

Answer is "SVG contains a filter when their source code includes the 'filter' string". Filter are part of SVG2 draft specs.
More complete answer is : scribus can't import variout other sorts of SVG predicates/commands/attribute, even in the SVG1 specs (as, for example, the transform: scale (1,-1) attribute for images).

Conclusion is :
- SVG support for scribus is very partial and not reliable
- Dont report bugs about "scribus dont import this SVG properly or truthfully"
- Only report bugs about "scribus messes the document when importing this SVG" or "scribus crash when or after importing this SVG"
(0032496)
christoph_s (administrator)
14-Jul-06 01:21

"Conclusion is :
- SVG support for scribus is very partial and not reliable"

Yep, except for the "very". It's just like import filters for non-native formats in almost all programs. Nothing new here. There will always be limits.

"- Dont report bugs about "scribus dont import this SVG properly or truthfully""

How do you reach this conclusion?

"- Only report bugs about "scribus messes the document when importing this SVG" or "scribus crash when or after importing this SVG""

How do you reach the conclusion?

It'll take a lot of work to "overhaul [the] scribus graphic model", and if you can do it or know someone who can *and* has the time, *and* is willing to contribute, please feel free to go forward. In the meantime, reporting SVG bugs of all kinds is absolutely OK.
(0032497)
JLuc (updater)
14-Jul-06 09:30
edited on: 14-Jul-06 15:11

I reach these conclusions because IMO, in case a developper works some day on improving-overhauling SVG support, he will look at the code and find there exactly what attributes are dealt with - and it means all the other are not supported. This will be a more global and exact view than the one achieved in blindly collecting SVG that dont work.

To start with, it would be interesting to create a detailed list of SVG attributes/features that are supported in Scribus. It would be a way to express more clearly to the wider public what can be expected of the SVG support today in scribus. And when a SVG with only these supported features goes wrong, then for sure that's a bug. But it looks like lots of effectless non-supported attributes are present in well-imported SVGs, that makes it difficult to sort "should be supported" svgs out of the lot.
If you wish to collect all sorts of SVGs that dont work, even for not supported features, i suggest to create 2 reports :
- one for unsupported features (= future overhauling test cases)
- one for crashing bugs and bugs in dealing with supported features

As with the "very not reliable", its because 1) ATM its not explained precisely what is supported and is not (not only filters which is SVG2 but also transform:scale with is SVG1) 2) I had a PDF that could not be riped probably because of too SVG imports - thats the only occurence of such a problem i've ever had with scribus.


- Issue History
Date Modified Username Field Change
06-Dec-05 16:33 christoph_s New Issue
06-Dec-05 16:33 christoph_s File Added: problem-svgs_1.tar.bz2
06-Dec-05 16:36 christoph_s File Added: problem-svgs_3.tar.bz2
06-Dec-05 16:50 christoph_s Description Updated
06-Dec-05 18:25 jghali Note Added: 0013782
06-Dec-09 20:31 jghali Relationship added parent of 0004765
06-Dec-09 20:37 jghali Note Added: 0013841
06-Dec-18 14:18 christoph_s Note Added: 0013995
06-Dec-26 17:31 christoph_s Note Added: 0014256
06-Dec-26 17:31 christoph_s File Added: svg-issues.zip
06-Dec-26 18:25 christoph_s Relationship added related to 0005008
06-Dec-26 18:28 christoph_s Relationship added related to 0005014
06-Dec-26 18:30 christoph_s Relationship added related to 0005009
06-Dec-26 18:30 christoph_s Relationship added related to 0005006
06-Dec-26 18:31 christoph_s Relationship added related to 0004950
06-Dec-26 18:31 christoph_s Relationship added related to 0003714
06-Dec-26 18:32 christoph_s Relationship added related to 0002221
06-Dec-27 23:37 jghali Note Added: 0014284
06-Dec-29 02:15 jghali Note Added: 0014302
06-Dec-29 23:25 jghali Note Added: 0014312
07-Jan-15 16:22 christoph_s Note Added: 0014810
07-Jan-15 16:22 christoph_s File Added: glass1.svg.tar.bz2
07-Jan-16 00:55 jghali Note Added: 0014817
07-Mar-13 09:19 jghali Relationship added related to 0002931
07-Dec-11 10:57 subik Relationship added child of 0005693
07-Dec-20 23:51 cbradney Target Version => 1.3.5svn
07-Dec-26 18:02 cbradney Target Version 1.3.5svn => 1.3.5
08-Feb-26 00:03 cbradney Target Version 1.3.5 => 1.3.6
08-Mar-05 00:23 christoph_s File Added: Chrisdesign_Diamond.svg
08-Mar-05 00:24 christoph_s Note Added: 0019147
08-Mar-05 08:55 jghali Note Added: 0019148
08-Mar-05 08:59 jghali Note Edited: 0019148
08-Mar-19 10:51 jghali Relationship deleted child of 0005693
12-Jul-05 14:30 ale Relationship added parent of 0010841
12-Jul-05 14:31 ale Relationship added parent of 0009404
14-Jul-03 19:44 FirasH Relationship added parent of 0012305
14-Jul-03 19:47 FirasH Relationship added parent of 0012252
14-Jul-03 20:50 JLuc Note Added: 0032451
14-Jul-03 20:52 Kunda Target Version 1.5.0 => 1.5.1
14-Jul-03 20:55 JLuc Note Added: 0032453
14-Jul-04 09:42 JLuc Note Added: 0032470
14-Jul-06 01:21 christoph_s Note Added: 0032496
14-Jul-06 09:30 JLuc Note Added: 0032497
14-Jul-06 09:33 JLuc Note Edited: 0032497 View Revisions
14-Jul-06 09:46 JLuc Note Edited: 0032497 View Revisions
14-Jul-06 15:11 JLuc Note Edited: 0032497 View Revisions
14-Jul-06 15:11 JLuc Note Added: 0032499
14-Jul-06 15:11 JLuc Note Deleted: 0032499



Copyright © 2000 - 2014 MantisBT Team
Powered by Mantis Bugtracker