It would seem like @font-face declarations in CSS are either ignored or not parsed.
A decent proof of concept would be to load the URL http://www.css3.info/preview/web-fonts-with-font-face/ in a webview, scroll down to the example and compare to the screenshot. The fonts are not beeing loaded.
WebView browser = new WebView();
WebEngine webEngine = browser.getEngine();
webEngine.load("http://www.css3.info/preview/web-fonts-with-font-face/");
A decent proof of concept would be to load the URL http://www.css3.info/preview/web-fonts-with-font-face/ in a webview, scroll down to the example and compare to the screenshot. The fonts are not beeing loaded.
WebView browser = new WebView();
WebEngine webEngine = browser.getEngine();
webEngine.load("http://www.css3.info/preview/web-fonts-with-font-face/");
- blocks
-
JDK-8126918 Some DRT tests in fast/css/font-face* fail
-
- Resolved
-
- is blocked by
-
JDK-8101904 WebView needs a mechanism to load a web font and create PGFonts from it
-
- Closed
-
- relates to
-
JDK-8102635 Add support for WOFF font format
-
- Resolved
-
-
JDK-8088675 WebView does not support "cursive" and "fantasy" font families
-
- Open
-
-
JDK-8089405 WebView does not support synthetic bold and italic styling of web fonts
-
- Open
-