This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

SVGs rendered incorrectly in Firefox 29

  • 2 replies
  • 1 has this problem
  • 12 views
  • Paskiausią atsakymą parašė Kohei

more options

I'm working on developing an online calculus course for a university. All of the graphics for the course are SVGs created in Mathematica. A few upgrades back (I don't remember specifically which update), the SVGs started being rendered at what looks like quarter size. The problem has persisted in Firefox 29. If I downgrade to Firefox 24 ESR they are rendered correctly. Here (https://dl.dropboxusercontent.com/u/48216943/good.png) is a link to what the site looks like under Firefox 24. Here (https://dl.dropboxusercontent.com/u/48216943/bad.png) is a link to what the site looks like under Firefox 29. Here (https://dl.dropboxusercontent.com/u/48216943/sfield.svg) is a link to the SVG. I have a 2012 Macbook Pro with a retina display running a fresh copy of Mac OS 10.9.

I'm working on developing an online calculus course for a university. All of the graphics for the course are SVGs created in Mathematica. A few upgrades back (I don't remember specifically which update), the SVGs started being rendered at what looks like quarter size. The problem has persisted in Firefox 29. If I downgrade to Firefox 24 ESR they are rendered correctly. Here (https://dl.dropboxusercontent.com/u/48216943/good.png) is a link to what the site looks like under Firefox 24. Here (https://dl.dropboxusercontent.com/u/48216943/bad.png) is a link to what the site looks like under Firefox 29. Here (https://dl.dropboxusercontent.com/u/48216943/sfield.svg) is a link to the SVG. I have a 2012 Macbook Pro with a retina display running a fresh copy of Mac OS 10.9.

All Replies (2)

more options

Have you compared the rendering with other browsers?

On my system, the file looks largest in Firefox. My Windows font size is larger than average, so if set layout.css.devPixelsPerPx to undo Firefox's adjustments, then I get the same rendering in Firefox as I do in Chrome. In Internet Explorer 11, the file looks even smaller.

more options

Firefox 24, Firefox 29 and Chrome show the same result when I open the SVG file. I guess your issue reproduces only when the SVG is embedded in HTML. Can you please post the HTML source also?