You need to
before you can comment on or make changes to this bug.
Created an attachment (id=122199) [details]
Left is included SVG, right is inline SVG. Font selection fails in included SVG
When including an external SVG file (e.g. with the SVG <image> tag or the HTML <img> tag), font selection fails for the <text> elements with a "font-family" attribute in the included file. Attached are two files: bug_image_font.html is an HTML that shows two SVG images, one included from the file image.svg and the other inline. Both are identical, but in the included case (left), the sans-serif text is rendered with the default, serif font (at least on my machine.) The inline example (or the included SVG file loaded directly) shows the right fonts.
Created an attachment (id=122200) [details]
The included SVG file (identical to the inline content), works as expected when loaded directly
See also: bug 68090.
This bug is probably invalid, Opera and FF do not support this either. Furthermore, having svg embedded inline in a html document is the workaround anyway. If I get svg-as-image correctly, it is just another image format.
Firefox does not support svg fonts. In order to be an image format, "svg-as-image" should not change when embedded in an html page. This is not the case with any other format : a jpeg looks the same when seen alone in a browser, or in an html page.