According to http://www.w3.org/TR/CSS21/fonts.html#generic-font-families, all CSS implementations need to support the following generic font families: serif, sans-serif, cursive, fantasy, monospace. It turns out cursive and fantasy are not currently supported by WebView.
See com.sun.webpane.sg.prism.WCFontImpl.getFont().
See com.sun.webpane.sg.prism.WCFontImpl.getFont().
- relates to
-
JDK-8115920 WebView-component doesn't seem to render CSS @font-face declarations
-
- Resolved
-
-
JDK-8117872 Define what logical fonts mean for javafx
-
- Closed
-