Open eiffel31 opened 1 week ago
I just edited a new .svg file, here is the changes I made with a text editor in the produced svg file:
<polyline class="OttavaSegment" fill="none" stroke="#33d17a" stroke-dasharray="16.501,-6.62542" stroke-dashoffset="0" stroke-width=...
Turned into:
<polyline class="OttavaSegment" fill="none" stroke="#33d17a" stroke-dasharray="16.501,6.62542" stroke-dashoffset="0" stroke-width=...
(minus sign removal in stroke-dasharray definition)
Seems to be a Mu3 regression
I just observed the same problem with a "dim. _"
<polyline class="HairpinSegment" fill="none" stroke="#000000" stroke-dasharray="17.856,-13.599" stroke-dashoffset="0"...
The minus sign has to be removed in the stroke-dasharray definition.
I suspect it'll be an issue what all dashed lines
Issue type
Import/export issue
Bug description
When ottava alta or bass are used, the generated SVG file is not usable with common tools such as inkscape or openoffice.
Steps to reproduce
Create new score, add few notes with ottava, export as SVG. Open the SVG file with inkscape: big display problems, zoom dependant If the SVG is imported in openoffice document, the vertical part of the ottava delimiter is not displayed.
In the generated SVG file, there are 2 polylines for the ottava segments. The vertical one defines a "stroke-dasharray" with a negative value. Removing the minus sign solves the display problem.
Screenshots/Screen recordings
MuseScore display:![image](https://github.com/musescore/MuseScore/assets/79512904/231b69df-c1dc-4eee-a51f-cc8460b9caa7)
Inkscape opening the SVG file:
with different zoom:
![image](https://github.com/musescore/MuseScore/assets/79512904/c7e2dba7-ddc6-4692-bd7c-74cb817413b1)
Inkscape view with the minus sign removed:![image](https://github.com/musescore/MuseScore/assets/79512904/72a1f1be-909f-4598-96ce-f62b23eba61c)
MuseScore Version
4.3.2
Regression
I don't know
Operating system
Debian 12.5
Additional context
No response