Scribusoid

Author Topic: SVG Stroke-dasharray zero problem  (Read 1254 times)

tkbd

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
  • Scribus User
SVG Stroke-dasharray zero problem
« on: June 23, 2015, 03:19:41 pm »
Hello.
I found an importing probrem when test to import for many SVG data on Scribus.

My Enviroment is
MacOSX 10.10.3
Scribus   v1.5.0

About the problem
If import one of the SVG file that contains an attribute for 'stroke-dasharray="0"' ,
It had vanished by involving other SVG artworks that already displayed.
(They are not display on preview mode,but path data is exist.)

Please fix this problem.
In other applications(Web browser etc.), stroke-dasharray="0" is treated to displays as standard line.

I attached example files.
dash_array_empty.svg
It is contains an attribute stroke-dasharray=""  (No problem file)

dash_array_zero_bug.svg
It is contains the attribute stroke-dasharray="0" (a problem file.)

This bug has a reproducible. Use to these files.
How to reproduce this.
  • Step 1) At first,Drag and Drop 'dash_array_empty.svg' to scribus document window.(It is no problem)
  • Step 2) Next,Drag and Drop 'dash_array_zero_bug.svg' to scribus document window.
  • Result) All SVG artworks on Acribus's document are vanish.(the bug  will occur)

-----------
tkbd

a.l.e

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1295
  • Karma: 19
    • the graphics lab
Re: SVG Stroke-dasharray zero problem
« Reply #1 on: June 23, 2015, 04:12:47 pm »
hi

looks like a bug... can you please post the issue to http://bugs.scribus.net ?

have a nice day
a.l.e

a.l.e

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1295
  • Karma: 19
    • the graphics lab
Re: SVG Stroke-dasharray zero problem
« Reply #2 on: June 23, 2015, 04:13:07 pm »
ah, and thanks for reporting it! :-)

a.l.e

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1295
  • Karma: 19
    • the graphics lab
Re: SVG Stroke-dasharray zero problem
« Reply #3 on: June 24, 2015, 02:08:44 pm »
thanks for opening the ticket!

http://bugs.scribus.net/view.php?id=13165

you can check the fix in the current svn

http://lists.scribus.net/pipermail/scribus-commit/2015-June/007674.html

and a big thank to franz for fixing it in about 28 minutes!

tkbd

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
  • Scribus User
Re: SVG Stroke-dasharray zero problem
« Reply #4 on: June 24, 2015, 02:53:17 pm »
a.l.e ,Thanks for your advice!
I submitted to a report in bug tracker.

Awesome!, It has been fixed soon! (While I writing this reply)
Thanks for scribus developer franz!!

I think that Scribus v1.5.0 is be better than before ver.
It was able to export un-embed PDF that using ttf font including 2-byte characters.
Also category icon & name display in the Preferences dialog has been improved.

I hope further development of Scribus. :D

 

palmate