Created attachment 47582 [details]
html for test file (you need the SVG too)
When using @font-face with the src being of svg format, in Safari on OS X and iPhone, and chrome word-spacing is not being honored. There's also a strange behaviour, when you insert a span, it does advance the text to the position where it *should* be if the word-spacing were being honored, even when the span breaks up a word (without any spaces).
I've attached a test file which demonstrates both these behaviors with an SVG font file.
Created attachment 47583 [details]
SVG to go along with html
Did I file this in the wrong place?
(In reply to comment #2)
> Did I file this in the wrong place?
No, this is the right place.
Created attachment 54945 [details]
test case downloads font from Bugzilla
Created attachment 54946 [details]
test case that downloads font from Bugzilla
Niko, any idea what's going on here?
Sorry for the late reply. I guess the problem happens when using SVGFonts in HTML.
When drawing an SVG font inside SVG, we're explicitely disabling any spacing handling, as the SVG Text layouting code handles this on it's own. I suspect that we're also disabling that logic when using SVG Fonts in HTML, which is wrong.
Going to check this during the next days, hopefully!
Changed component to SVG, so it shows up in my all-svg-bugs search.
See also bug 32227.
Fixed in r89233.