title: QWebView does not display Monospace fonts
body: <p>I try the simplest example of PyQt5 QWebView that I could find and try to display a Monospace font in HTML.
  QWebView is quite powerful, all I want to do works, except the Monospace font.</p>
  <p>Here is the example code:
  `</p>
  <pre><code>#! /usr/bin/python3
  #coding: latin-1
  
  &quot;&quot;&quot;
  https://github.com/baoboa/pyqt5/blob/master/examples/webkit/fancybrowser/fancybrowser.py
  &quot;&quot;&quot;
  
  import sys
  import os
  from PyQt5.QtWidgets import *
  from PyQt5.QtCore import *
  from PyQt5.QtGui import *
  from PyQt5.QtWebKitWidgets import QWebPage, QWebView
  #from PyQt5.QtWebEngine import QWebEngineSettings
  
  class MyWidget(QWidget):
      def __init__(self):
          QWidget.__init__(self)
          self.setWindowTitle('Hello')
          self.resize(768, 576)
  
          self.view = QWebView(self)
  
          fpath = os.path.abspath(&quot;test.html&quot;)
          self.view.load(QUrl.fromLocalFile(fpath))
          self.view.loadFinished.connect(self.loaded)
  
          self.layout = QGridLayout()
          self.layout.setColumnStretch(1, 1)
          self.layout.addWidget(self.view, 0, 0)
          self.setLayout(self.layout)
  
      def loaded(self):
          print(&quot;Loaded&quot;)
  
  app = QApplication(sys.argv)
  
  win = MyWidget()
  win.show()
  
  sys.exit(app.exec_())
  ```
  </code></pre>
  <p>Here is the test.html that I try and that works in firefox for example:</p>
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang=&quot;en&quot;&gt;
    &lt;head&gt;
      &lt;meta charset=&quot;utf-8&quot;&gt;
      &lt;title&gt;title&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;p style=&quot;color:red&quot;&gt;This is a paragraph.&lt;/p&gt;
      &lt;p style=&quot;font-family:'Courier New'&quot;&gt;This is another paragraph.&lt;/p&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  <p>Has anybody got a hint what I need to do to use any Monospace font?</p>
  <p>I run PyQt5 on Linux, OpenSuse 15.3.</p>
  <p>Please find the screenshots showing the behavior (Ok in Firefox, Ok in Chrome, NOT Ok in PyQt5 WebView):
  <a href="https://i.stack.imgur.com/4vqtp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4vqtp.png" alt="enter image description here" /></a>
  The font in the second paragraph is as expected.</p>
  <p><a href="https://i.stack.imgur.com/aYrNx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aYrNx.png" alt="enter image description here" /></a>
  The font in the second paragraph is as expected.</p>
  <p><a href="https://i.stack.imgur.com/nDADf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nDADf.png" alt="enter image description here" /></a>
  The font in the second paragraph is incorrect.</p>