I am using Java FX2.2 WebView built into JPanel to display web pages. This works well, with the exception of the default font, which I don't like. It looks very bold / rounded / smooth / blurry.

To the left is the text from my Chrome browser, to the right of the FX browser.
It seems that the default font is "System Regular", this font is returned by Font.getDefault (). I tried changing it with reflection, but the browser still uses the same font. I also looked at WebView.setFontScale() and WebView.setFontSmoothingType() , the former has been resized, and the latter has only the second type of font smoothing, which is even worse than the default.
I looked at Safari, which, like FX WebView, is based on WebKit, and this browser has the ability to change the default font (I think most browsers have this option).
Does anyone know how to change this standard font for Java FX WebView?
EDIT: function request was requested here: https://bugs.openjdk.java.net/browse/JDK-8090968
Nickl source share