|· Hosting provided by Anduin.net / Øverby Consulting ·|
|Anonymous | Login | Signup for a new account||2014-11-23 17:56 CET|
|My View | View Issues | Change Log | Roadmap | Repositories|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004732||Scribus||Import / Export||public||2006-12-05 16:33||2014-07-06 15:11|
|Target Version||1.5.1||Fixed in Version|
|Summary||0004732: SVG test cases|
|Description||I 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.|
|Tags||No tags attached.|
|Attached Files|| problem-svgs_1.tar.bz2 [^] (1,429,462 bytes) 2006-12-05 16:33|
problem-svgs_3.tar.bz2 [^] (1,255,360 bytes) 2006-12-05 16:36
svg-issues.zip [^] (71,491 bytes) 2006-12-26 17:31
glass1.svg.tar.bz2 [^] (17,021 bytes) 2007-01-15 16:22
Chrisdesign_Diamond.svg [^] (534,895 bytes) 2008-03-05 00:23
|The first thing needed here is an overhaul of scribus graphic model. Svg import plugin is currently mostly limited by scribus graphics capabilities.|
|Handling of svg 'switch' element is now implement in 126.96.36.199cvs. 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.|
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 188.8.131.52cvs 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
|Added another archive with SVGs that can't be imported.|
I had a look at svg-issues.zip svgs:
- brozo_the_clown_enrique__01.svg : parsing bug of percentages, fixed in 184.108.40.206cvs and 1.3.4cvs, group opacity not correctly handled
- cartoon_tree_01.svg : handling of <use> tag, added yesterday in 220.127.116.11cvs 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
|- discordian_sacred_chao_t_01.svg : styles info at svg root were not parsed and consequently not taken into account, fixed in 18.104.22.168cvs and 1.3.4cvs|
|- 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|
|Jean, could you please test the uploaded glass1.svg? It lets Scribus freeze.|
|drawing is a bit long due to the files complexity, but no freeze here|
|Chrisdesign_Diamond can't be imported correctly.|
edited on: 2008-03-05 08:59
christoph_s : SVG filters are outside the scope of this bug. This SVG has also objects outside the drawing frame.
I confirm for Diamond : it's probably the same bug as 0012187 which proposes a simple testcase, and where issue is with
What is it you call a filter jghali ?
How can testers recognise that a svg include a filter ?
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"
"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.
edited on: 2014-07-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.
|2006-12-05 16:33||christoph_s||New Issue|
|2006-12-05 16:33||christoph_s||File Added: problem-svgs_1.tar.bz2|
|2006-12-05 16:36||christoph_s||File Added: problem-svgs_3.tar.bz2|
|2006-12-05 16:50||christoph_s||Description Updated|
|2006-12-05 18:25||jghali||Note Added: 0013782|
|2006-12-09 20:31||jghali||Relationship added||parent of 0004765|
|2006-12-09 20:37||jghali||Note Added: 0013841|
|2006-12-18 14:18||christoph_s||Note Added: 0013995|
|2006-12-26 17:31||christoph_s||Note Added: 0014256|
|2006-12-26 17:31||christoph_s||File Added: svg-issues.zip|
|2006-12-26 18:25||christoph_s||Relationship added||related to 0005008|
|2006-12-26 18:28||christoph_s||Relationship added||related to 0005014|
|2006-12-26 18:30||christoph_s||Relationship added||related to 0005009|
|2006-12-26 18:30||christoph_s||Relationship added||related to 0005006|
|2006-12-26 18:31||christoph_s||Relationship added||related to 0004950|
|2006-12-26 18:31||christoph_s||Relationship added||related to 0003714|
|2006-12-26 18:32||christoph_s||Relationship added||related to 0002221|
|2006-12-27 23:37||jghali||Note Added: 0014284|
|2006-12-29 02:15||jghali||Note Added: 0014302|
|2006-12-29 23:25||jghali||Note Added: 0014312|
|2007-01-15 16:22||christoph_s||Note Added: 0014810|
|2007-01-15 16:22||christoph_s||File Added: glass1.svg.tar.bz2|
|2007-01-16 00:55||jghali||Note Added: 0014817|
|2007-03-13 09:19||jghali||Relationship added||related to 0002931|
|2007-12-11 10:57||subik||Relationship added||child of 0005693|
|2007-12-20 23:51||cbradney||Target Version||=> 1.3.5svn|
|2007-12-26 18:02||cbradney||Target Version||1.3.5svn => 1.3.5|
|2008-02-26 00:03||cbradney||Target Version||1.3.5 => 1.3.6|
|2008-03-05 00:23||christoph_s||File Added: Chrisdesign_Diamond.svg|
|2008-03-05 00:24||christoph_s||Note Added: 0019147|
|2008-03-05 08:55||jghali||Note Added: 0019148|
|2008-03-05 08:59||jghali||Note Edited: 0019148|
|2008-03-19 10:51||jghali||Relationship deleted||child of 0005693|
|2012-07-05 14:30||ale||Relationship added||parent of 0010841|
|2012-07-05 14:31||ale||Relationship added||parent of 0009404|
|2014-07-03 19:44||FirasH||Relationship added||parent of 0012305|
|2014-07-03 19:47||FirasH||Relationship added||parent of 0012252|
|2014-07-03 20:50||JLuc||Note Added: 0032451|
|2014-07-03 20:52||Kunda||Target Version||1.5.0 => 1.5.1|
|2014-07-03 20:55||JLuc||Note Added: 0032453|
|2014-07-04 09:42||JLuc||Note Added: 0032470|
|2014-07-06 01:21||christoph_s||Note Added: 0032496|
|2014-07-06 09:30||JLuc||Note Added: 0032497|
|2014-07-06 09:33||JLuc||Note Edited: 0032497||View Revisions|
|2014-07-06 09:46||JLuc||Note Edited: 0032497||View Revisions|
|2014-07-06 15:11||JLuc||Note Edited: 0032497||View Revisions|
|2014-07-06 15:11||JLuc||Note Added: 0032499|
|2014-07-06 15:11||JLuc||Note Deleted: 0032499|
|My View | View Issues | Change Log | Roadmap | Repositories|
|Copyright © 2000 - 2014 MantisBT Team|