RESOLVED FIXED 17608
font substitution doesn't work for HTML text using SVG fonts
https://bugs.webkit.org/show_bug.cgi?id=17608
Summary font substitution doesn't work for HTML text using SVG fonts
Mark Ambachtsheer
Reported 2008-02-29 08:43:08 PST
When using an SVG font in HTML, if the SVG font doesn't contain a glyph that is in the text, font substitution doesn't work. The glyph defined by <missing-glyph /> is rendered instead of an alternate from another font that does define the glyph. This is using WebKit nightly build 30662.
Attachments
test file that reproduces bugs # 17541 and 17608 visually. (18.04 KB, text/html)
2008-02-29 08:45 PST, Mark Ambachtsheer
no flags
Screenshot of 17541_17608.html being rendered by WebKit (61.74 KB, image/png)
2008-02-29 08:49 PST, Mark Ambachtsheer
no flags
Slightly modified testcase (18.75 KB, application/xhtml+xml)
2011-06-03 05:09 PDT, Nikolas Zimmermann
no flags
Mark Ambachtsheer
Comment 1 2008-02-29 08:45:40 PST
Created attachment 19448 [details] test file that reproduces bugs # 17541 and 17608 visually. This file demonstrates bugs #17541 and #17608 visually.
Mark Ambachtsheer
Comment 2 2008-02-29 08:49:58 PST
Created attachment 19449 [details] Screenshot of 17541_17608.html being rendered by WebKit
Eric Seidel (no email)
Comment 3 2008-04-13 23:00:58 PDT
Awesome. :)
Nikolas Zimmermann
Comment 4 2011-06-03 05:09:30 PDT
Created attachment 95893 [details] Slightly modified testcase To make the testcase work in Opera as well, make it a XHTML document. The bug seems gone in trunk though, I'll create a testcase for the use within DRT soon.
Nikolas Zimmermann
Comment 5 2011-06-20 01:28:45 PDT
Fixed in r89233.
Note You need to log in before you can comment on or make changes to this bug.