title: Why is Format_MonoLSB drawing wrong?
body: <p>Some Chinese characters' strokes may be missing when I use QPainter.drawText under Windows platform.It happens when the size of font is within a range, usaually smaller.It seems like that it doesn't happen on English character.Only in Chinese does this happen.</p>
  <p>Code:</p>
  <pre><code>void MainWindow::paintEvent(QPaintEvent*)
  {
      const QString content = &quot;宝贝盖房子啊&quot;; // What I'm going to draw
      QFont font;
      font.setFamily(&quot;Arial&quot;);
     // font.setPixelSize(50);
      font.setPointSize(20); // fontsize.If it's too small, it won't draw properly
      QFontMetrics fm(font);
      QRect contentRect = fm.boundingRect(content);
  
      int width = (contentRect.width());
      int height = (contentRect.height());
      QImage pix(width, height, QImage::Format_MonoLSB); // It only happens when using this format    
      pix.fill(Qt::black);
      QPainter p(&amp;pix);
      p.setFont(font);
      p.drawText(pix.rect(), Qt::AlignLeft | Qt::AlignVCenter, content);
      p.end();
      pix.save(&quot;D:\\pix.bmp&quot;);
  }
  </code></pre>
  <p>Here's a picture of the results:<br />
  <a href="https://i.stack.imgur.com/y7aO2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/y7aO2.png" alt="Here's a picture of the results" /></a></p>
  <p>Why does this happen?</p>