NEW 98477
Hebrew text doesn't render in SVGImage (does render in SVG DOM)
https://bugs.webkit.org/show_bug.cgi?id=98477
Summary Hebrew text doesn't render in SVGImage (does render in SVG DOM)
Attachments
Alexey Proskuryakov
Comment 1 2012-10-05 10:57:10 PDT
This appears to work in Safari 6.0.1 on Mac. > Examples from http://aharon.varady.net/browser-test/all-in-one.html The last test from this page doesn't work on Mac though.
mitz
Comment 2 2012-10-05 11:01:43 PDT
The behavior is dependent on whether the image has been opened as a standalone SVG document prior to opening the document that uses it as a source for an img element or not.
Eric Seidel (no email)
Comment 3 2012-10-05 11:07:24 PDT
Perhaps it uses an SVG font: <![CDATA[ @font-face { font-family: 'Linux Libertine O'; font-weight: normal; font-style: normal; src: url("http://aharon.varady.net/browser-test/fonts/LinLibertineO-Hebrew.svg#LinLibertineO-Hebrew") format("svg") } ]]> SVGImages are disallowed from loading external resources, but I guess they're not disallowed from loading cached resources?
Stephen Chenney
Comment 4 2012-11-02 15:52:52 PDT
(In reply to comment #3) > Perhaps it uses an SVG font: > <![CDATA[ > @font-face { > font-family: 'Linux Libertine O'; > font-weight: normal; > font-style: normal; > src: url("http://aharon.varady.net/browser-test/fonts/LinLibertineO-Hebrew.svg#LinLibertineO-Hebrew") format("svg") > } > ]]> > > SVGImages are disallowed from loading external resources, but I guess they're not disallowed from loading cached resources? Do we consider fonts as external resources? I suppose we do. This test does not work if included in the html as <embed> or <object> either. Most likely reason for the font existing in some cases when earlier loaded is that the font is still in existence. I'll try to verify that somehow.
Stephen Chenney
Comment 5 2012-11-02 16:13:55 PDT
All sorts of odd behavior. If all the files are downloaded locally and loaded from disk, the <img> loads and shows the font, but incorrectly. Can't figure that out. Still, there's absolutely no reason to think that this particular SVG font would be any more problematic than any other SVG font, and we get few complaints of those failing. So I'm at a loss. I'll look into it some more when (and if) I have time.
Dirk Schulze
Comment 6 2014-05-12 07:35:31 PDT
Fonts count as external resource. Anyway, we should fallback to something if the font can not be downloaded. (If that is the issue even.)
Note You need to log in before you can comment on or make changes to this bug.