Closed Bug 613137 Opened 14 years ago Closed 14 years ago

SVG incorrectly shown

Categories

(Core :: SVG, defect)

defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 119490

People

(Reporter: samuelmarks, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101026 FireDownload/2.0.1 Firefox/3.6.12
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101026 FireDownload/2.0.1 Firefox/3.6.12

http://en.wikipedia.org/wiki/File:Use_case_restaurant_model.svg

The above should show correctly. Now click the image to show as full-size.

This page should then load: http://upload.wikimedia.org/wikipedia/commons/1/1d/Use_case_restaurant_model.svg

Reproducible: Always

Steps to Reproduce:
1. http://upload.wikimedia.org/wikipedia/commons/1/1d/Use_case_restaurant_model.svg
2.
3.
(In reply to comment #0)
> http://en.wikipedia.org/wiki/File:Use_case_restaurant_model.svg
> 
> The above should show correctly. Now click the image to show as full-size.

Note that the "correct" rendering is actually just a PNG snapshot, located at 
http://upload.wikimedia.org/wikipedia/commons/thumb/1/1d/Use_case_restaurant_model.svg/496px-Use_case_restaurant_model.svg.png

Just pointing that out, to establish that this isn't a case of us rendering the same SVG file correctly in one instance but incorrectly in another.
FWIW, it's is also broken in Presto (Opera 10.63) and Webkit (Midori 0.2.4) -- both of those user agents render it without any visible text at all (whereas my Firefox trunk nightly renders it with giant text).  However, it loads "correctly" (matching the PNG) in both Inkscape, Eye Of Gnome (default svg-viewer in Ubuntu), and emacs.

It looks like this also uses an SVG font, which Firefox doesn't support.  (and Opera/Webkit do support IIRC, but they're not displaying in this instance for some reason.)  If I remove the <font> node, then Opera & Webkit match Firefox's giant-letters rendering.

So, the testcase likely has multiple issues, but the SVG Font is what's causing Firefox to diverge from other user agents like Opera/Webkit.  So, duping to the SVG fonts bug.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Interesting!

Thanks for delving into it =]
You need to log in before you can comment on or make changes to this bug.