title: How to have WinForms RichTextBox render with same line spacing in .NET and .netcore?
body: <p>I have a .NET Framework WinForms application that uses the standard RichTextBox to view/edit some RTF files.
  I've ported the application to .NET Core.</p>
  <p>As you can see in the images, the displayed text have different line space heights. I've found that this is due to the hyperlink in the RTF file. If I remove it then their display is same.
  <a href="https://i.stack.imgur.com/5sYWU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5sYWU.png" alt="Different display of RichTextBox in .NET and .net core" /></a></p>
  <p>Can anyone explain why the display is different in the two applications and is there anything I can do to make their display same?</p>
  <p>A sample application demonstrating this can be found <a href="https://www.dropbox.com/sh/8otx6fe9s4cl77d/AAA1I--TqSrEbVqCHacNj-g8a?dl=0" rel="nofollow noreferrer">here</a>, along with a <a href="https://www.dropbox.com/s/lbk3jmim08u2fzs/Document.rtf?dl=0" rel="nofollow noreferrer">sample RTF file</a>.</p>