Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

SVGs rendered incorrectly in Firefox 29

  • 2 odpowiedzi
  • 1 osoba ma ten problem
  • 12 wyświetleń
  • Ostatnia odpowiedź od 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.

Wszystkie odpowiedzi (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?