SVG incompatibility?

Asked by Jeremy

I've an SVG that has been supplied to me by our graphic designers - it's a logo.

When I open it in Firefox or Chrome browsers, it displays perfectly.

When I open it in Inkscape 0.91, parts of it are missing. I'd be happy to upload it for examination if it's possible. Actually, it's only 2kbytes so I'll post the whole thing as text below.

Many thanks,

-Jeremy.

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 371 167.45"><defs><style>.cls-1{fill:#00151d;}.cls-2{fill:#6cc04a;}.cls-3{fill:#00839b;}.cls-4{fill:#3bb0c9;}.cls-5{fill:#f0e049;}</style></defs><title>ShowUp-logo-nostrapline</title><g id="Logo"><g id="Master"><path class="cls-1" d="M129.78,72.76a10.75,10.75,0,0,0-7.89-2.84c-3.75,0-5.82,1.16-5.82,3.17S118,76.32,122,76.57c6,.39,13.64,1.75,13.64,10.22,0,5.62-4.59,10.47-13.71,10.47-5,0-10.09-.84-14.74-5.69l3.88-5.62c2.26,2.52,7.43,4.4,11,4.46,3,.06,5.75-1.49,5.75-3.81s-1.81-3.1-6.34-3.36c-6-.45-13.19-2.65-13.19-9.89s7.63-10,13.45-10c5,0,8.73,1,12.41,4.2Z"/><path class="cls-1" d="M146.4,50.91V68.62a11.77,11.77,0,0,1,10-4.78c9.05,0,13.06,6.14,13.06,15.52V96.16h-7.89V79.42c0-5.82-3-8.28-7.24-8.28-4.65,0-7.89,3.94-7.89,8.73V96.16h-7.89V58.83Z"/><path class="cls-1" d="M206.78,80.26c0,9.18-6.27,16.62-16.62,16.62s-16.55-7.43-16.55-16.62,6.34-16.62,16.49-16.62S206.78,71.14,206.78,80.26Zm-25.28,0c0,4.85,2.91,9.37,8.66,9.37s8.66-4.53,8.66-9.37-3.36-9.44-8.66-9.44C184.47,70.82,181.5,75.48,181.5,80.26Z"/><path class="cls-1" d="M237.29,64.23l7,24,7.31-24h8.73L249.19,96.29H240l-3.3-9.44-2.84-10.67L231,86.86l-3.3,9.44h-9.18L207.36,64.23h8.79l7.31,24,6.92-24Z"/><path class="cls-1" d="M271.17,64.29V81c0,4.85,2.65,8.53,7.69,8.53,4.85,0,8.15-4.07,8.15-8.92V64.29h7.82V96.23h-7l-.52-4.33c-3.3,3.23-6.34,4.78-10.8,4.78-7.63,0-13.19-5.75-13.19-15.65V64.29Z"/><path class="cls-1" d="M300.52,109.48V64.29h7.37l.52,4.4a12.66,12.66,0,0,1,10.34-5.11c9.83,0,16.36,7.31,16.36,16.68S329.22,96.94,319,96.94c-3.36,0-8.34-1-10.6-4.53v9.14Zm26.7-29.22c0-5-3.36-9.05-9.05-9.05s-9.05,4.07-9.05,9.05a9.05,9.05,0,0,0,18.1,0Z"/><path class="cls-2" d="M109.44,44.3a35.43,35.43,0,0,0-50.1,1L84.91,69.87Z"/><path class="cls-3" d="M84.91,69.87,60.38,95.43,85.94,120A35.43,35.43,0,0,0,84.91,69.87Z"/><path class="cls-4" d="M59.34,45.33a35.43,35.43,0,0,0,1,50.1L84.91,69.87Z"/><path class="cls-5" d="M35.84,121a35.43,35.43,0,0,0,50.1-1L60.38,95.43Z"/></g></g></svg>

Question information

Language:
English Edit question
Status:
Answered
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Mc (mc...) said :
#1

Hi,

This is a known bug in inkscape that will be solved in the next release (minus signs with no spaces in arcs are misinterpreted).

Here is a version that should work:

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 371 167.45"><defs><style>.cls-1{fill:#00151d;}.cls-2{fill:#6cc04a;}.cls-3{fill:#00839b;}.cls-4{fill:#3bb0c9;}.cls-5{fill:#f0e049;}</style></defs><title>ShowUp-logo-nostrapline</title><g id="Logo"><g id="Master"><path class="cls-1" d="M129.78,72.76a10.75,10.75,0,0,0-7.89-2.84c-3.75,0-5.82,1.16-5.82,3.17S118,76.32,122,76.57c6,.39,13.64,1.75,13.64,10.22,0,5.62-4.59,10.47-13.71,10.47-5,0-10.09-.84-14.74-5.69l3.88-5.62c2.26,2.52,7.43,4.4,11,4.46,3,.06,5.75-1.49,5.75-3.81s-1.81-3.1-6.34-3.36c-6-.45-13.19-2.65-13.19-9.89s7.63-10,13.45-10c5,0,8.73,1,12.41,4.2Z"/><path class="cls-1" d="M146.4,50.91V68.62a11.77,11.77,0,0,1,10 -4.78c9.05,0,13.06,6.14,13.06,15.52V96.16h-7.89V79.42c0-5.82-3-8.28-7.24-8.28-4.65,0-7.89,3.94-7.89,8.73V96.16h-7.89V58.83Z"/><path class="cls-1" d="M206.78,80.26c0,9.18-6.27,16.62-16.62,16.62s-16.55-7.43-16.55-16.62,6.34-16.62,16.49-16.62S206.78,71.14,206.78,80.26Zm-25.28,0c0,4.85,2.91,9.37,8.66,9.37s8.66-4.53,8.66-9.37-3.36-9.44-8.66-9.44C184.47,70.82,181.5,75.48,181.5,80.26Z"/><path class="cls-1" d="M237.29,64.23l7,24,7.31-24h8.73L249.19,96.29H240l-3.3-9.44-2.84-10.67L231,86.86l-3.3,9.44h-9.18L207.36,64.23h8.79l7.31,24,6.92-24Z"/><path class="cls-1" d="M271.17,64.29V81c0,4.85,2.65,8.53,7.69,8.53,4.85,0,8.15-4.07,8.15-8.92V64.29h7.82V96.23h-7l-.52-4.33c-3.3,3.23-6.34,4.78-10.8,4.78-7.63,0-13.19-5.75-13.19-15.65V64.29Z"/><path class="cls-1" d="M300.52,109.48V64.29h7.37l.52,4.4a12.66,12.66,0,0,1,10.34 -5.11c9.83,0,16.36,7.31,16.36,16.68S329.22,96.94,319,96.94c-3.36,0-8.34-1-10.6-4.53v9.14Zm26.7-29.22c0-5-3.36-9.05-9.05-9.05s-9.05,4.07 -9.05,9.05a9.05,9.05,0,0,0,18.1,0Z"/><path class="cls-2" d="M109.44,44.3a35.43,35.43,0,0,0 -50.1,1L84.91,69.87Z"/><path class="cls-3" d="M84.91,69.87,60.38,95.43,85.94,120A35.43,35.43,0,0,0,84.91,69.87Z"/><path class="cls-4" d="M59.34,45.33a35.43,35.43,0,0,0,1,50.1L84.91,69.87Z"/><path class="cls-5" d="M35.84,121a35.43,35.43,0,0,0,50.1-1L60.38,95.43Z"/></g></g></svg>

Revision history for this message
Jeremy (jeremyn) said :
#2

Thanks. That restored the arc, although the initial 's' was still missing. I added some more spaces before minus signs in its class, and that seems to have worked - although it's all a bit hit and miss!

I have another logo file with a strapline that has more characters missing, but I'll try the same with that.

Can you help with this problem?

Provide an answer of your own, or ask Jeremy for more information if necessary.

To post a message you must log in.