title: Change default font of JavaFX WebView
body: <p>I am using a Java FX2.2 WebView embedded in a JPanel for showing web pages. This works well, except for the default font that I don't like. It looks very bold/rounded/anti-aliased/blurry.</p>
  
  <p><img src="https://i.stack.imgur.com/X6Jow.png" alt="enter image description here"></p>
  
  <p>On the left is the text from my Chrome browser, on the right of the FX Browser.</p>
  
  <p>It seems that it is using the "System Regular" Font as a default font, this font is returned by Font.getDefault(). I have tried changing it with reflection but the browser still uses the same font. 
  Also I looked into <code>WebView.setFontScale()</code> and <code>WebView.setFontSmoothingType()</code>, the first only changes the size and the latter only has a 2nd font smoothing type that is even worse than the default.</p>
  
  <p>I looked at Safari, which is, like FX WebView, based on WebKit, and this browser has the option to change the default font (I think most browsers have this option).</p>
  
  <p>Does anyone know a way to change this default Font for the Java FX WebView?</p>
  
  <p>EDIT: Made a feature request here: <a href="https://bugs.openjdk.java.net/browse/JDK-8090968" rel="nofollow noreferrer">https://bugs.openjdk.java.net/browse/JDK-8090968</a></p>