搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

SVGs rendered incorrectly in Firefox 29

  • 2 回覆
  • 1 有這個問題
  • 12 次檢視
  • 最近回覆由 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.

所有回覆 (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?